Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009034/0.0009031, allocations: 177.3 kB / 17.41 MB, free: 4.277 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.387/1.387, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0007864/0.0007863, allocations: 94.3 kB / 271.9 MB, free: 8.238 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.3864/0.3864, allocations: 43.56 MB / 363.8 MB, free: 52.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003753, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3653/0.4986, allocations: 87.8 MB / 0.5657 GB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4989, allocations: 75.95 kB / 0.5658 GB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.5141, allocations: 5.862 MB / 0.5715 GB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5142, allocations: 0 / 0.5715 GB, free: 8.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.5142, allocations: 4.547 kB / 0.5715 GB, free: 8.695 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.0006611/0.5149, allocations: 465.8 kB / 0.5719 GB, free: 8.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.5149, allocations: 12.03 kB / 0.5719 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.515, allocations: 12.75 kB / 0.572 GB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.5154, allocations: 257.8 kB / 0.5722 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.5154, allocations: 4.375 kB / 0.5722 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.5154, allocations: 7.375 kB / 0.5722 GB, free: 7.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.5157, allocations: 105.6 kB / 0.5723 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5157, allocations: 192 / 0.5723 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.5157, allocations: 4.812 kB / 0.5723 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.5157, allocations: 7.938 kB / 0.5723 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.5158, allocations: 31.97 kB / 0.5724 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002662/0.5161, allocations: 226.4 kB / 0.5726 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.5164, allocations: 109.2 kB / 0.5727 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.5165, allocations: 37.7 kB / 0.5727 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5165, allocations: 8 kB / 0.5727 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.5167, allocations: 113 kB / 0.5728 GB, free: 7.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.5168, allocations: 0 / 0.5728 GB, free: 7.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004659/0.5172, allocations: 181.3 kB / 0.573 GB, free: 6.945 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5173, allocations: 132.5 kB / 0.5731 GB, free: 6.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.5176, allocations: 219.8 kB / 0.5733 GB, free: 6.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.5176, allocations: 29.7 kB / 0.5734 GB, free: 6.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.5177, allocations: 112.1 kB / 0.5735 GB, free: 6.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.5177, allocations: 23.7 kB / 0.5735 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.5178, allocations: 0 / 0.5735 GB, free: 6.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5179, allocations: 326.8 kB / 0.5738 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.518, allocations: 31.97 kB / 0.5738 GB, free: 6.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.5181, allocations: 69.14 kB / 0.5739 GB, free: 5.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.5183, allocations: 91.34 kB / 0.574 GB, free: 5.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5183, allocations: 4 kB / 0.574 GB, free: 5.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002584/0.5185, allocations: 141.4 kB / 0.5741 GB, free: 5.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5186, allocations: 11.88 kB / 0.5741 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5186, allocations: 1.125 kB / 0.5741 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5186, allocations: 4 kB / 0.5741 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5187, allocations: 23.92 kB / 0.5742 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5187, allocations: 4 kB / 0.5742 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.5188, allocations: 15.84 kB / 0.5742 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.5188, allocations: 4 kB / 0.5742 GB, free: 5.629 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001121/0.519, allocations: 141.8 kB / 0.5743 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.519, allocations: 19.75 kB / 0.5743 GB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.5193, allocations: 164 kB / 0.5745 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.5194, allocations: 4 kB / 0.5745 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5194, allocations: 0 / 0.5745 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5194, allocations: 0 / 0.5745 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.5196, allocations: 229.4 kB / 0.5747 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5196, allocations: 0 / 0.5747 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.5196, allocations: 15.98 kB / 0.5747 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5197, allocations: 3.938 kB / 0.5747 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.5197, allocations: 8 kB / 0.5747 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5197, allocations: 0 / 0.5747 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5197, allocations: 0 / 0.5747 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.52, allocations: 185.5 kB / 0.5749 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.5201, allocations: 104.9 kB / 0.575 GB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.5201, allocations: 3.938 kB / 0.575 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.07e-05/0.5202, allocations: 11.98 kB / 0.575 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.5202, allocations: 11.98 kB / 0.5751 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5203, allocations: 4 kB / 0.5751 GB, free: 4.641 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.5204, allocations: 169.5 kB / 0.5752 GB, free: 4.477 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5204, allocations: 0 / 0.5752 GB, free: 4.477 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.5207, allocations: 40 kB / 0.5753 GB, free: 4.438 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.001033/0.5217, allocations: 469.5 kB / 0.5757 GB, free: 4.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002509/0.522, allocations: 79.91 kB / 0.5758 GB, free: 3.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.522, allocations: 4 kB / 0.5758 GB, free: 3.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.5221, allocations: 47.91 kB / 0.5758 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.5225, allocations: 53.5 kB / 0.5759 GB, free: 3.895 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.5231, allocations: 334.8 kB / 0.5762 GB, free: 3.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.5234, allocations: 0.7166 MB / 0.5769 GB, free: 2.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.5235, allocations: 23.42 kB / 0.5769 GB, free: 2.773 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5235, allocations: 0 / 0.5769 GB, free: 2.773 MB / 394.7 MB Notification: Performance of Templates: time 0.004442/0.5279, allocations: 2.691 MB / 0.5796 GB, free: 88 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches