Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.598/1.598, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0008047/0.0008046, allocations: 89.42 kB / 271.9 MB, free: 8.285 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.3665/0.3665, allocations: 43.56 MB / 363.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.0004039, allocations: 19.98 kB / 432.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 58.84 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4641, allocations: 87.62 MB / 0.5655 GB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4644, allocations: 75.95 kB / 0.5656 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.48, allocations: 6.513 MB / 0.5719 GB, free: 8.156 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4801, allocations: 0 / 0.5719 GB, free: 8.156 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.658e-05/0.4801, allocations: 12 kB / 0.5719 GB, free: 8.145 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00091/0.481, allocations: 0.7144 MB / 0.5726 GB, free: 7.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4811, allocations: 15.95 kB / 0.5727 GB, free: 7.363 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.4812, allocations: 48.38 kB / 0.5727 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/0.4819, allocations: 0.4986 MB / 0.5732 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.4819, allocations: 12.36 kB / 0.5732 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.4819, allocations: 384 / 0.5732 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.4821, allocations: 92.55 kB / 0.5733 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4822, allocations: 192 / 0.5733 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4822, allocations: 7.938 kB / 0.5733 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4822, allocations: 0 / 0.5733 GB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.4823, allocations: 39.91 kB / 0.5733 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.4827, allocations: 378.3 kB / 0.5737 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.483, allocations: 109.2 kB / 0.5738 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4831, allocations: 41.69 kB / 0.5738 GB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4831, allocations: 7.984 kB / 0.5738 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.4833, allocations: 113 kB / 0.574 GB, free: 5.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.4833, allocations: 0 / 0.574 GB, free: 5.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004795/0.4838, allocations: 204.9 kB / 0.5741 GB, free: 5.684 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.4839, allocations: 77.11 kB / 0.5742 GB, free: 5.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.4852, allocations: 1.011 MB / 0.5752 GB, free: 4.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.4852, allocations: 29.7 kB / 0.5752 GB, free: 4.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.4854, allocations: 232.1 kB / 0.5755 GB, free: 4.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.4854, allocations: 35.55 kB / 0.5755 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.4854, allocations: 0 / 0.5755 GB, free: 4.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4856, allocations: 370.8 kB / 0.5758 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.4857, allocations: 27.98 kB / 0.5759 GB, free: 3.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.4858, allocations: 55.41 kB / 0.5759 GB, free: 3.805 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.486, allocations: 100.3 kB / 0.576 GB, free: 3.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.486, allocations: 0 / 0.576 GB, free: 3.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002822/0.4863, allocations: 165 kB / 0.5762 GB, free: 3.527 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4863, allocations: 7.938 kB / 0.5762 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.4863, allocations: 4.625 kB / 0.5762 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4863, allocations: 0 / 0.5762 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4865, allocations: 31.98 kB / 0.5762 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4865, allocations: 3.984 kB / 0.5762 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.4866, allocations: 23.78 kB / 0.5762 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.4866, allocations: 8 kB / 0.5763 GB, free: 3.449 MB / 394.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002137/0.4868, allocations: 237.5 kB / 0.5765 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.4869, allocations: 55.28 kB / 0.5765 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.4873, allocations: 201.6 kB / 0.5767 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4873, allocations: 0 / 0.5767 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4873, allocations: 0 / 0.5767 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4873, allocations: 3.984 kB / 0.5767 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.4877, allocations: 385.3 kB / 0.5771 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4877, allocations: 0 / 0.5771 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.072e-05/0.4878, allocations: 16 kB / 0.5771 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4878, allocations: 3.938 kB / 0.5771 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.4878, allocations: 4 kB / 0.5771 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4878, allocations: 0 / 0.5771 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4878, allocations: 0 / 0.5771 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.4882, allocations: 223.2 kB / 0.5773 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.4884, allocations: 200.3 kB / 0.5775 GB, free: 2.043 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.4885, allocations: 11.88 kB / 0.5775 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.332e-05/0.4886, allocations: 7.984 kB / 0.5775 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.854e-05/0.4886, allocations: 15.98 kB / 0.5776 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4886, allocations: 8 kB / 0.5776 GB, free: 2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008572/0.4895, allocations: 0.7487 MB / 0.5783 GB, free: 1.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4895, allocations: 0 / 0.5783 GB, free: 1.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.4898, allocations: 83.98 kB / 0.5784 GB, free: 1.172 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009031/0.4907, allocations: 413.1 kB / 0.5788 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.491, allocations: 87.89 kB / 0.5789 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.491, allocations: 128 / 0.5789 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.4911, allocations: 51.86 kB / 0.5789 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.4916, allocations: 66.83 kB / 0.579 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4929, allocations: 1.044 MB / 0.58 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.4934, allocations: 0.8468 MB / 0.5808 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4935, allocations: 47.42 kB / 0.5809 GB, free: 14.66 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4935, allocations: 0 / 0.5809 GB, free: 14.66 MB / 410.7 MB Notification: Performance of Templates: time 0.008981/0.5025, allocations: 5.655 MB / 0.5864 GB, free: 9.012 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches