Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 170.9 kB / 16.76 MB, free: 5.055 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.766/1.766, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0009038/0.000904, allocations: 93.02 kB / 271.3 MB, free: 8.234 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.4095/0.4095, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004285, allocations: 12 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5628, allocations: 87.73 MB / 0.5656 GB, free: 14.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.5632, allocations: 75.95 kB / 0.5657 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.578, allocations: 5.237 MB / 0.5708 GB, free: 8.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5781, allocations: 0 / 0.5708 GB, free: 8.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.5781, allocations: 7.922 kB / 0.5708 GB, free: 8.988 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.0006041/0.5787, allocations: 419 kB / 0.5712 GB, free: 8.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5788, allocations: 12.03 kB / 0.5712 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.5788, allocations: 8.844 kB / 0.5712 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.5792, allocations: 213.5 kB / 0.5714 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.5792, allocations: 4.375 kB / 0.5714 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.5792, allocations: 4.375 kB / 0.5715 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.5794, allocations: 58.17 kB / 0.5715 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5794, allocations: 192 / 0.5715 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.5794, allocations: 7.938 kB / 0.5715 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5794, allocations: 0 / 0.5715 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.143e-05/0.5795, allocations: 23.98 kB / 0.5715 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.58, allocations: 286.3 kB / 0.5718 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.5802, allocations: 70.48 kB / 0.5719 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.542e-05/0.5803, allocations: 20.84 kB / 0.5719 GB, free: 7.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.5803, allocations: 4 kB / 0.5719 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.5805, allocations: 71.3 kB / 0.572 GB, free: 7.648 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.5805, allocations: 0 / 0.572 GB, free: 7.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006014/0.5811, allocations: 178.1 kB / 0.5721 GB, free: 7.469 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.5811, allocations: 55.41 kB / 0.5722 GB, free: 7.402 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.5813, allocations: 170.2 kB / 0.5724 GB, free: 7.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.5814, allocations: 33.7 kB / 0.5724 GB, free: 7.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.5814, allocations: 100.1 kB / 0.5725 GB, free: 7.086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.5815, allocations: 19.7 kB / 0.5725 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.5815, allocations: 4 kB / 0.5725 GB, free: 7.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5816, allocations: 322.8 kB / 0.5728 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.824e-05/0.5817, allocations: 23.98 kB / 0.5728 GB, free: 6.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.477e-05/0.5818, allocations: 37.64 kB / 0.5729 GB, free: 6.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.5819, allocations: 66.44 kB / 0.5729 GB, free: 6.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5819, allocations: 0 / 0.5729 GB, free: 6.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.5821, allocations: 105.4 kB / 0.573 GB, free: 6.492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5821, allocations: 8 kB / 0.573 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5821, allocations: 0 / 0.573 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5821, allocations: 0 / 0.573 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.5822, allocations: 15.98 kB / 0.5731 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5822, allocations: 4 kB / 0.5731 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.5823, allocations: 8.594 kB / 0.5731 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.5823, allocations: 4 kB / 0.5731 GB, free: 6.453 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.0001114/0.5824, allocations: 129.7 kB / 0.5732 GB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.5825, allocations: 11.89 kB / 0.5732 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.5827, allocations: 122.3 kB / 0.5733 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5827, allocations: 0 / 0.5733 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5827, allocations: 0 / 0.5733 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5827, allocations: 4 kB / 0.5733 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.5833, allocations: 419.1 kB / 0.5737 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5833, allocations: 0 / 0.5737 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.5833, allocations: 8 kB / 0.5737 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5833, allocations: 4 kB / 0.5737 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5833, allocations: 0 / 0.5737 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.5834, allocations: 7.922 kB / 0.5737 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5834, allocations: 3.938 kB / 0.5738 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.5836, allocations: 212.3 kB / 0.574 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.5837, allocations: 93 kB / 0.574 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.5838, allocations: 0 / 0.574 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.182e-05/0.5838, allocations: 8 kB / 0.5741 GB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.5839, allocations: 11.92 kB / 0.5741 GB, free: 5.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.5839, allocations: 0 / 0.5741 GB, free: 5.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.584, allocations: 133.5 kB / 0.5742 GB, free: 5.195 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.584, allocations: 4 kB / 0.5742 GB, free: 5.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.5843, allocations: 31.98 kB / 0.5742 GB, free: 5.16 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.001129/0.5855, allocations: 482.7 kB / 0.5747 GB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.5857, allocations: 59.97 kB / 0.5747 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5857, allocations: 0 / 0.5747 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.5858, allocations: 35.92 kB / 0.5748 GB, free: 4.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.5861, allocations: 25.2 kB / 0.5748 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.5866, allocations: 236.7 kB / 0.575 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.587, allocations: 0.7004 MB / 0.5757 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.5871, allocations: 16.48 kB / 0.5757 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.5871, allocations: 19.44 kB / 0.5757 GB, free: 3.652 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5871, allocations: 0 / 0.5757 GB, free: 3.652 MB / 394.7 MB Notification: Performance of Templates: time 0.004518/0.5916, allocations: 1.679 MB / 0.5774 GB, free: 1.988 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches