Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002228/0.002228, allocations: 180.9 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001118/0.001117, allocations: 86.66 kB / 267.5 MB, free: 14.11 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.2791/0.2791, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.654e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1205, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.6169, allocations: 87.93 MB / 0.5587 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.6172, allocations: 77.55 kB / 0.5587 GB, free: 15.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05072/0.668, allocations: 11.01 MB / 0.5695 GB, free: 6.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.668, allocations: 0 / 0.5695 GB, free: 6.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.652e-05/0.6681, allocations: 15.98 kB / 0.5695 GB, free: 6.355 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001409/0.6695, allocations: 0.6343 MB / 0.5701 GB, free: 5.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.6696, allocations: 12.03 kB / 0.5701 GB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.6698, allocations: 51.34 kB / 0.5702 GB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.6711, allocations: 432.3 kB / 0.5706 GB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.6711, allocations: 11.42 kB / 0.5706 GB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.6712, allocations: 15.88 kB / 0.5706 GB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.6717, allocations: 191.7 kB / 0.5708 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.6718, allocations: 8 kB / 0.5708 GB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.6718, allocations: 7.438 kB / 0.5708 GB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.6719, allocations: 4 kB / 0.5708 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003384/0.6722, allocations: 101 kB / 0.5709 GB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.6739, allocations: 0.8893 MB / 0.5718 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.6746, allocations: 274 kB / 0.572 GB, free: 3.824 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.6749, allocations: 89.16 kB / 0.5721 GB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.6749, allocations: 7.938 kB / 0.5721 GB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/0.6755, allocations: 232.2 kB / 0.5724 GB, free: 3.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 4.007e-06/0.6755, allocations: 0 / 0.5724 GB, free: 3.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.002728/0.6783, allocations: 0.9008 MB / 0.5732 GB, free: 2.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.6784, allocations: 162.2 kB / 0.5734 GB, free: 2.539 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.6796, allocations: 0.5506 MB / 0.5739 GB, free: 2.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/0.6797, allocations: 36.7 kB / 0.574 GB, free: 2.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.6799, allocations: 250.1 kB / 0.5742 GB, free: 1.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.68, allocations: 120.4 kB / 0.5743 GB, free: 1.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.6801, allocations: 6.938 kB / 0.5743 GB, free: 1.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6802, allocations: 326 kB / 0.5746 GB, free: 1.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.6805, allocations: 96.8 kB / 0.5747 GB, free: 1.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.6809, allocations: 183.9 kB / 0.5749 GB, free: 1.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.6812, allocations: 115.2 kB / 0.575 GB, free: 1.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.6813, allocations: 3.953 kB / 0.575 GB, free: 1.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009121/0.6822, allocations: 338 kB / 0.5753 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.6822, allocations: 4 kB / 0.5753 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6822, allocations: 4 kB / 0.5753 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.6823, allocations: 4 kB / 0.5754 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.6829, allocations: 91.61 kB / 0.5754 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.6829, allocations: 4 kB / 0.5754 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.6834, allocations: 34.7 kB / 0.5755 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.6835, allocations: 19.67 kB / 0.5755 GB, free: 0.7539 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001957/0.6837, allocations: 139.4 kB / 0.5756 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6839, allocations: 59.3 kB / 0.5757 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.6853, allocations: 465.1 kB / 0.5761 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.6853, allocations: 8 kB / 0.5761 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.6853, allocations: 0 / 0.5761 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.6854, allocations: 7.984 kB / 0.5761 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.6881, allocations: 1.348 MB / 0.5775 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.6881, allocations: 0 / 0.5775 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.6885, allocations: 55.91 kB / 0.5775 GB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/0.6885, allocations: 4 kB / 0.5775 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/0.6886, allocations: 19.62 kB / 0.5775 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.6886, allocations: 7.984 kB / 0.5775 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.6886, allocations: 11.89 kB / 0.5776 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.6902, allocations: 0.9311 MB / 0.5785 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.6905, allocations: 159.4 kB / 0.5786 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.6906, allocations: 22.86 kB / 0.5786 GB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.6912, allocations: 27.78 kB / 0.5787 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.6914, allocations: 38.39 kB / 0.5787 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.6914, allocations: 19.5 kB / 0.5787 GB, free: 13.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009025/0.6923, allocations: 454.7 kB / 0.5792 GB, free: 13.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6924, allocations: 0 / 0.5792 GB, free: 13.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008528/0.6932, allocations: 103.1 kB / 0.5793 GB, free: 13.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001364/0.6946, allocations: 447 kB / 0.5797 GB, free: 12.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008713/0.6955, allocations: 283.5 kB / 0.5799 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.6955, allocations: 4 kB / 0.58 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.6959, allocations: 157.3 kB / 0.5801 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.6973, allocations: 128.4 kB / 0.5802 GB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.6995, allocations: 0.753 MB / 0.581 GB, free: 11.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.7002, allocations: 0.8656 MB / 0.5818 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.7005, allocations: 50.98 kB / 0.5819 GB, free: 10.83 MB / 394.7 MB Notification: Performance of SimCode: time 3.607e-06/0.7005, allocations: 0 / 0.5819 GB, free: 10.83 MB / 394.7 MB Notification: Performance of Templates: time 0.01711/0.7177, allocations: 6.47 MB / 0.5882 GB, free: 4.41 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches