Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001464/0.001464, allocations: 110.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001766/0.001766, allocations: 208.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.88 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 62.44 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002837/0.2974, allocations: 1.597 MB / 0.5332 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.2984, allocations: 0.5376 MB / 0.5338 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.2985, allocations: 5.219 kB / 0.5338 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.2987, allocations: 20.86 kB / 0.5338 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002966/0.299, allocations: 80.83 kB / 0.5339 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.2993, allocations: 114.1 kB / 0.534 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.2994, allocations: 66.22 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.096e-05/0.2995, allocations: 14.53 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.748e-05/0.2996, allocations: 24.73 kB / 0.5341 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.2997, allocations: 22.55 kB / 0.5341 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2997, allocations: 2.188 kB / 0.5341 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.391e-05/0.2998, allocations: 37.14 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.2999, allocations: 16.11 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2999, allocations: 25.08 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3001, allocations: 81.11 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3001, allocations: 0 / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3001, allocations: 0 / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3001, allocations: 1.219 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004395/0.3006, allocations: 387 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3006, allocations: 9.156 kB / 0.5346 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.3006, allocations: 8.781 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3009, allocations: 197.5 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.3009, allocations: 6 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3009, allocations: 6.062 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3011, allocations: 56.45 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.619e-06/0.3011, allocations: 0 / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3011, allocations: 5.844 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-06/0.3011, allocations: 0 / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.3012, allocations: 21.39 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.3016, allocations: 281 kB / 0.5352 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3018, allocations: 48.03 kB / 0.5352 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.3019, allocations: 20.81 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3019, allocations: 1 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3019, allocations: 34.5 kB / 0.5353 GB, free: 10.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3019, allocations: 1.156 kB / 0.5353 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006032/0.3025, allocations: 163 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.3026, allocations: 51.41 kB / 0.5355 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3028, allocations: 166.4 kB / 0.5356 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.3028, allocations: 27.08 kB / 0.5357 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.3028, allocations: 96.27 kB / 0.5358 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3029, allocations: 13.17 kB / 0.5358 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3029, allocations: 21.84 kB / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.303, allocations: 321.6 kB / 0.5361 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.3031, allocations: 20.36 kB / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.3032, allocations: 20.36 kB / 0.5361 GB, free: 9.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.3034, allocations: 63.06 kB / 0.5362 GB, free: 9.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3034, allocations: 0 / 0.5362 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002324/0.3036, allocations: 87.95 kB / 0.5363 GB, free: 9.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3036, allocations: 5.5 kB / 0.5363 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3036, allocations: 0 / 0.5363 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.3037, allocations: 1.375 kB / 0.5363 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.652e-05/0.3037, allocations: 13.61 kB / 0.5363 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3037, allocations: 0 / 0.5363 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.3038, allocations: 10.67 kB / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.3038, allocations: 2.75 kB / 0.5363 GB, free: 9.672 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.366e-05/0.3039, allocations: 119.3 kB / 0.5364 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.3039, allocations: 8.031 kB / 0.5364 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.3042, allocations: 104.2 kB / 0.5365 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3042, allocations: 1.375 kB / 0.5365 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3042, allocations: 0 / 0.5365 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.3042, allocations: 5.312 kB / 0.5365 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.3047, allocations: 355.6 kB / 0.5369 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3047, allocations: 5.094 kB / 0.5369 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.3048, allocations: 12.77 kB / 0.5369 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3048, allocations: 1.031 kB / 0.5369 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3048, allocations: 8.875 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3048, allocations: 0 / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3048, allocations: 1.125 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.3051, allocations: 190.8 kB / 0.5371 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.3051, allocations: 79.33 kB / 0.5372 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3051, allocations: 5 kB / 0.5372 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.3052, allocations: 11.22 kB / 0.5372 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.3052, allocations: 6.156 kB / 0.5372 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.3053, allocations: 5.094 kB / 0.5372 GB, free: 8.812 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.322e-05/0.3054, allocations: 124 kB / 0.5373 GB, free: 8.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.3054, allocations: 3.938 kB / 0.5373 GB, free: 8.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.3057, allocations: 19.08 kB / 0.5373 GB, free: 8.707 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008836/0.3066, allocations: 402.4 kB / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.3068, allocations: 54.73 kB / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3069, allocations: 0 / 0.5378 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.3069, allocations: 28.55 kB / 0.5378 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.3073, allocations: 23.05 kB / 0.5378 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.3078, allocations: 225.9 kB / 0.538 GB, free: 8.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.3081, allocations: 0.6993 MB / 0.5387 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.3081, allocations: 17.23 kB / 0.5387 GB, free: 7.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3081, allocations: 0 / 0.5387 GB, free: 7.531 MB / 398.1 MB Notification: Performance of Templates: time 0.003236/0.3114, allocations: 1.476 MB / 0.5402 GB, free: 6.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches