Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.85/1.85, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0007776/0.0007775, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3651/0.3651, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005114, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1925, allocations: 58.85 MB / 490.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4571/0.6497, allocations: 87.83 MB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.65, allocations: 75.33 kB / 0.5646 GB, free: 11.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02123/0.6712, allocations: 7.522 MB / 0.5719 GB, free: 5.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6713, allocations: 0 / 0.5719 GB, free: 5.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.6713, allocations: 4 kB / 0.5719 GB, free: 5.523 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007364/0.672, allocations: 0.5057 MB / 0.5724 GB, free: 4.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6721, allocations: 16.56 kB / 0.5725 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.6722, allocations: 19.72 kB / 0.5725 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.6727, allocations: 280.7 kB / 0.5727 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.6727, allocations: 1.688 kB / 0.5727 GB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.6727, allocations: 5.688 kB / 0.5728 GB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.673, allocations: 106.8 kB / 0.5729 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.673, allocations: 0 / 0.5729 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.673, allocations: 1.688 kB / 0.5729 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.673, allocations: 8 kB / 0.5729 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.6732, allocations: 42.28 kB / 0.5729 GB, free: 4.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006176/0.6738, allocations: 459.4 kB / 0.5733 GB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.6741, allocations: 131.8 kB / 0.5735 GB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.6741, allocations: 4 kB / 0.5735 GB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.6743, allocations: 107.4 kB / 0.5736 GB, free: 3.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.6744, allocations: 4 kB / 0.5736 GB, free: 3.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009025/0.6753, allocations: 376.9 kB / 0.5739 GB, free: 3.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.6753, allocations: 77.11 kB / 0.574 GB, free: 3.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.6757, allocations: 324.1 kB / 0.5743 GB, free: 3.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.6757, allocations: 33.02 kB / 0.5744 GB, free: 3.105 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.6758, allocations: 134.9 kB / 0.5745 GB, free: 3.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.6759, allocations: 50.97 kB / 0.5745 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.6759, allocations: 3.75 kB / 0.5745 GB, free: 2.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.676, allocations: 342.5 kB / 0.5749 GB, free: 2.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.6761, allocations: 35.48 kB / 0.5749 GB, free: 2.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.6762, allocations: 75.84 kB / 0.575 GB, free: 2.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.6764, allocations: 59.23 kB / 0.575 GB, free: 2.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.6764, allocations: 4 kB / 0.575 GB, free: 2.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003105/0.6767, allocations: 180 kB / 0.5752 GB, free: 2.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6767, allocations: 6.656 kB / 0.5752 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6767, allocations: 0 / 0.5752 GB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.6767, allocations: 4.75 kB / 0.5752 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.6769, allocations: 35.86 kB / 0.5752 GB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.6769, allocations: 7.984 kB / 0.5752 GB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.677, allocations: 7.938 kB / 0.5753 GB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.677, allocations: 8.062 kB / 0.5753 GB, free: 2.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001519/0.6772, allocations: 160.8 kB / 0.5754 GB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.6772, allocations: 27.67 kB / 0.5754 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.6776, allocations: 221.1 kB / 0.5757 GB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6776, allocations: 4 kB / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6777, allocations: 0 / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6777, allocations: 0 / 0.5757 GB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.6785, allocations: 0.6635 MB / 0.5763 GB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6785, allocations: 4 kB / 0.5763 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.817e-05/0.6786, allocations: 19.94 kB / 0.5763 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6786, allocations: 0 / 0.5763 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.6786, allocations: 7.984 kB / 0.5763 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.6786, allocations: 4 kB / 0.5763 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6786, allocations: 4.062 kB / 0.5763 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004276/0.6791, allocations: 419.8 kB / 0.5767 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.6792, allocations: 118.4 kB / 0.5769 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.6792, allocations: 11.19 kB / 0.5769 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.6794, allocations: 6.812 kB / 0.5769 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.6794, allocations: 15.94 kB / 0.5769 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.6795, allocations: 10.92 kB / 0.5769 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002469/0.6797, allocations: 259 kB / 0.5771 GB, free: 484 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6797, allocations: 4 kB / 0.5772 GB, free: 480 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.68, allocations: 46.86 kB / 0.5772 GB, free: 436 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00103/0.6811, allocations: 479 kB / 0.5777 GB, free: 16 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.6814, allocations: 123.3 kB / 0.5778 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6814, allocations: 0 / 0.5778 GB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.6815, allocations: 65.47 kB / 0.5778 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.6819, allocations: 51.2 kB / 0.5779 GB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.6827, allocations: 494.9 kB / 0.5784 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.6831, allocations: 0.7635 MB / 0.5791 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.664e-05/0.6832, allocations: 38.16 kB / 0.5791 GB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.701e-05/0.6832, allocations: 30.17 kB / 0.5792 GB, free: 14.51 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.6832, allocations: 3.938 kB / 0.5792 GB, free: 14.51 MB / 394.7 MB Notification: Performance of Templates: time 0.006099/0.6894, allocations: 2.776 MB / 0.5819 GB, free: 11.75 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches