Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.4 MB / 223.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008296/0.0008298, allocations: 90.36 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3872/0.3872, allocations: 43.56 MB / 363.8 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004484, allocations: 12 kB / 432.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1566, allocations: 58.86 MB / 491.5 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.5553, allocations: 87.75 MB / 0.5656 GB, free: 14.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.5558, allocations: 75.95 kB / 0.5657 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.5708, allocations: 5.465 MB / 0.571 GB, free: 9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5708, allocations: 0 / 0.571 GB, free: 9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.5709, allocations: 4 kB / 0.571 GB, free: 8.996 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005307/0.5714, allocations: 419 kB / 0.5714 GB, free: 8.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5715, allocations: 20.02 kB / 0.5715 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.5715, allocations: 13.56 kB / 0.5715 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.5718, allocations: 216.7 kB / 0.5717 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.5718, allocations: 384 / 0.5717 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.5719, allocations: 4.375 kB / 0.5717 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.572, allocations: 54.23 kB / 0.5717 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5721, allocations: 192 / 0.5717 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.5721, allocations: 11.94 kB / 0.5718 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.5721, allocations: 4 kB / 0.5718 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.5722, allocations: 19.92 kB / 0.5718 GB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.5726, allocations: 300.9 kB / 0.5721 GB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.5728, allocations: 62.61 kB / 0.5721 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.5729, allocations: 16.86 kB / 0.5721 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.5729, allocations: 4 kB / 0.5721 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.5731, allocations: 75.28 kB / 0.5722 GB, free: 7.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.5731, allocations: 3.938 kB / 0.5722 GB, free: 7.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005778/0.5736, allocations: 177.2 kB / 0.5724 GB, free: 7.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.5737, allocations: 51.41 kB / 0.5724 GB, free: 7.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.5739, allocations: 201.6 kB / 0.5726 GB, free: 7.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.574, allocations: 25.7 kB / 0.5727 GB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.574, allocations: 108.1 kB / 0.5728 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.5741, allocations: 27.64 kB / 0.5728 GB, free: 7.012 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5741, allocations: 0 / 0.5728 GB, free: 7.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5742, allocations: 326.8 kB / 0.5731 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.5743, allocations: 23.98 kB / 0.5731 GB, free: 6.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.5744, allocations: 38.45 kB / 0.5732 GB, free: 6.617 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.5745, allocations: 58.34 kB / 0.5732 GB, free: 6.555 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5745, allocations: 0 / 0.5732 GB, free: 6.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.5747, allocations: 105.5 kB / 0.5733 GB, free: 6.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5747, allocations: 4 kB / 0.5733 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5747, allocations: 0.625 kB / 0.5733 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5748, allocations: 4 kB / 0.5733 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.5749, allocations: 24.67 kB / 0.5733 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5749, allocations: 0 / 0.5733 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.5749, allocations: 4 kB / 0.5733 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.575, allocations: 4.031 kB / 0.5733 GB, free: 6.406 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5751, allocations: 141.4 kB / 0.5735 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.5751, allocations: 11.81 kB / 0.5735 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.5754, allocations: 127.3 kB / 0.5736 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5754, allocations: 4 kB / 0.5736 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5754, allocations: 0 / 0.5736 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5754, allocations: 0 / 0.5736 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.5759, allocations: 423.2 kB / 0.574 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5759, allocations: 3.984 kB / 0.574 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.5759, allocations: 8 kB / 0.574 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5759, allocations: 3.938 kB / 0.574 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.576, allocations: 8.359 kB / 0.574 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.576, allocations: 0 / 0.574 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.576, allocations: 7.938 kB / 0.5741 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.5762, allocations: 212.2 kB / 0.5743 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.5763, allocations: 97 kB / 0.5743 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.5764, allocations: 0 / 0.5743 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.5764, allocations: 8 kB / 0.5744 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.5765, allocations: 15.86 kB / 0.5744 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.5765, allocations: 0 / 0.5744 GB, free: 5.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.5766, allocations: 152.9 kB / 0.5745 GB, free: 5.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5766, allocations: 0 / 0.5745 GB, free: 5.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.5769, allocations: 39.94 kB / 0.5746 GB, free: 5.062 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.578, allocations: 473.2 kB / 0.575 GB, free: 4.691 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.5782, allocations: 63.92 kB / 0.5751 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5782, allocations: 0 / 0.5751 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.643e-05/0.5783, allocations: 31.92 kB / 0.5751 GB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.5787, allocations: 27.97 kB / 0.5751 GB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.5792, allocations: 286.2 kB / 0.5754 GB, free: 4.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.5795, allocations: 0.7043 MB / 0.5761 GB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.5795, allocations: 23.42 kB / 0.5761 GB, free: 3.516 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5795, allocations: 0 / 0.5761 GB, free: 3.516 MB / 394.7 MB Notification: Performance of Templates: time 0.003903/0.5834, allocations: 1.958 MB / 0.578 GB, free: 1.574 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches