Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 177.5 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.583/1.583, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.000791/0.0007912, allocations: 89.42 kB / 271.9 MB, free: 8.266 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.4104/0.4104, allocations: 43.56 MB / 363.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004125, allocations: 15.98 kB / 432.6 MB, free: 5.668 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 58.85 MB / 491.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5585, allocations: 87.99 MB / 0.5659 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5589, allocations: 75.95 kB / 0.5659 GB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0178/0.5767, allocations: 5.974 MB / 0.5718 GB, free: 8.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5768, allocations: 0.5469 kB / 0.5718 GB, free: 8.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.5768, allocations: 0 / 0.5718 GB, free: 8.312 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.0006919/0.5775, allocations: 418.1 kB / 0.5722 GB, free: 7.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.5776, allocations: 12.03 kB / 0.5722 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.5776, allocations: 12.84 kB / 0.5722 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.578, allocations: 207 kB / 0.5724 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.578, allocations: 8.312 kB / 0.5724 GB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.578, allocations: 4.375 kB / 0.5724 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.5782, allocations: 71.88 kB / 0.5725 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.5783, allocations: 4.188 kB / 0.5725 GB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.5783, allocations: 7.938 kB / 0.5725 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5783, allocations: 0 / 0.5725 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.5784, allocations: 19.98 kB / 0.5725 GB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.5788, allocations: 280.9 kB / 0.5728 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.579, allocations: 70.55 kB / 0.5728 GB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.5791, allocations: 20.84 kB / 0.5728 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5791, allocations: 7.984 kB / 0.5729 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.5793, allocations: 63.39 kB / 0.5729 GB, free: 6.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.5793, allocations: 0 / 0.5729 GB, free: 6.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006232/0.5799, allocations: 169.3 kB / 0.5731 GB, free: 6.789 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.981e-05/0.58, allocations: 85.11 kB / 0.5732 GB, free: 6.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.5802, allocations: 163.6 kB / 0.5733 GB, free: 6.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.5802, allocations: 25.7 kB / 0.5733 GB, free: 6.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/0.5803, allocations: 92.14 kB / 0.5734 GB, free: 6.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.5803, allocations: 23.7 kB / 0.5734 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.5803, allocations: 4 kB / 0.5735 GB, free: 6.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5804, allocations: 326.8 kB / 0.5738 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.5805, allocations: 19.98 kB / 0.5738 GB, free: 6.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.5806, allocations: 50.5 kB / 0.5738 GB, free: 5.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.5807, allocations: 58.56 kB / 0.5739 GB, free: 5.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5808, allocations: 1.031 kB / 0.5739 GB, free: 5.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.581, allocations: 102.3 kB / 0.574 GB, free: 5.797 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.581, allocations: 8 kB / 0.574 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.581, allocations: 0 / 0.574 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.581, allocations: 64 / 0.574 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.5811, allocations: 20.36 kB / 0.574 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5811, allocations: 4 kB / 0.574 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.182e-05/0.5812, allocations: 4 kB / 0.574 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.5812, allocations: 8 kB / 0.574 GB, free: 5.754 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.0001109/0.5813, allocations: 133.7 kB / 0.5742 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.5814, allocations: 7.906 kB / 0.5742 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.5816, allocations: 126.6 kB / 0.5743 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5817, allocations: 11.94 kB / 0.5743 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5817, allocations: 0 / 0.5743 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.5817, allocations: 0 / 0.5743 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.5822, allocations: 411.1 kB / 0.5747 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.5822, allocations: 4 kB / 0.5747 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.5822, allocations: 11.98 kB / 0.5747 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5822, allocations: 0 / 0.5747 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.5823, allocations: 0 / 0.5747 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5823, allocations: 8.031 kB / 0.5747 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5823, allocations: 3.938 kB / 0.5747 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.5825, allocations: 204.2 kB / 0.5749 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.5826, allocations: 93 kB / 0.575 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.5827, allocations: 0 / 0.575 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.5827, allocations: 4 kB / 0.575 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.5828, allocations: 19.92 kB / 0.575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.5828, allocations: 0 / 0.575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.5829, allocations: 120.5 kB / 0.5751 GB, free: 4.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5829, allocations: 0 / 0.5751 GB, free: 4.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.5832, allocations: 39.98 kB / 0.5752 GB, free: 4.469 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.001214/0.5845, allocations: 0.4936 MB / 0.5757 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.5847, allocations: 63.91 kB / 0.5757 GB, free: 4.008 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5847, allocations: 4 kB / 0.5757 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/0.5848, allocations: 36.19 kB / 0.5758 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5852, allocations: 32.06 kB / 0.5758 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.5857, allocations: 249.8 kB / 0.576 GB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.586, allocations: 0.7005 MB / 0.5767 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.586, allocations: 15.44 kB / 0.5767 GB, free: 2.926 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.586, allocations: 0 / 0.5767 GB, free: 2.926 MB / 394.7 MB Notification: Performance of Templates: time 0.004802/0.5908, allocations: 2.026 MB / 0.5787 GB, free: 0.9102 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches