Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001074/0.001074, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008843/0.0008842, allocations: 82.64 kB / 261.7 MB, free: 1.688 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.2201/0.2201, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.325e-05, allocations: 8 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 58.86 MB / 477.1 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5879, allocations: 87.26 MB / 0.5512 GB, free: 7.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.5882, allocations: 74.75 kB / 0.5512 GB, free: 7.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02502/0.6132, allocations: 10.94 MB / 0.5619 GB, free: 15.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6132, allocations: 0 / 0.5619 GB, free: 15.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.6133, allocations: 8 kB / 0.5619 GB, free: 15.01 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.0009252/0.6142, allocations: 0.6384 MB / 0.5625 GB, free: 14.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.6143, allocations: 8.031 kB / 0.5626 GB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.6144, allocations: 51.34 kB / 0.5626 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.6152, allocations: 429.1 kB / 0.563 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.6152, allocations: 4 kB / 0.563 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.6152, allocations: 19.92 kB / 0.563 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001747/0.6154, allocations: 86.7 kB / 0.5631 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.6157, allocations: 189.2 kB / 0.5633 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.6157, allocations: 0 / 0.5633 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.6158, allocations: 3.984 kB / 0.5633 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6158, allocations: 4 kB / 0.5633 GB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.6167, allocations: 0.8564 MB / 0.5641 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.617, allocations: 258.8 kB / 0.5644 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.6172, allocations: 91.36 kB / 0.5645 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.6172, allocations: 3.938 kB / 0.5645 GB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/0.6175, allocations: 222.4 kB / 0.5647 GB, free: 12.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.6175, allocations: 0 / 0.5647 GB, free: 12.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001451/0.619, allocations: 0.8481 MB / 0.5655 GB, free: 11.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.6191, allocations: 158.2 kB / 0.5657 GB, free: 11.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/0.6197, allocations: 0.5261 MB / 0.5662 GB, free: 10.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.6197, allocations: 33.08 kB / 0.5662 GB, free: 10.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.6199, allocations: 222.7 kB / 0.5664 GB, free: 10.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.62, allocations: 114.8 kB / 0.5665 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.62, allocations: 4 kB / 0.5665 GB, free: 10.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6202, allocations: 374 kB / 0.5669 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.6203, allocations: 86.86 kB / 0.567 GB, free: 10.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.6205, allocations: 160.6 kB / 0.5671 GB, free: 10.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.6207, allocations: 105.1 kB / 0.5672 GB, free: 10.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6207, allocations: 0 / 0.5672 GB, free: 10.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004769/0.6212, allocations: 361.3 kB / 0.5676 GB, free: 9.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6212, allocations: 4 kB / 0.5676 GB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.6212, allocations: 8.156 kB / 0.5676 GB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.6212, allocations: 4 kB / 0.5676 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.6216, allocations: 87.2 kB / 0.5677 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.6216, allocations: 4 kB / 0.5677 GB, free: 9.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.6218, allocations: 15.98 kB / 0.5677 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.6218, allocations: 15.19 kB / 0.5677 GB, free: 9.602 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.0001201/0.6219, allocations: 127.3 kB / 0.5678 GB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.622, allocations: 71.19 kB / 0.5679 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006727/0.6227, allocations: 435.2 kB / 0.5683 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.6227, allocations: 8 kB / 0.5683 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.6227, allocations: 0 / 0.5683 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.6227, allocations: 3.984 kB / 0.5683 GB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.6241, allocations: 1.274 MB / 0.5696 GB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6241, allocations: 4 kB / 0.5696 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6243, allocations: 64 kB / 0.5696 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.6243, allocations: 8 kB / 0.5696 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.6243, allocations: 7.984 kB / 0.5697 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.6244, allocations: 4 kB / 0.5697 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6244, allocations: 8.016 kB / 0.5697 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.6252, allocations: 0.9138 MB / 0.5706 GB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.6253, allocations: 155 kB / 0.5707 GB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.6254, allocations: 15.94 kB / 0.5707 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.6257, allocations: 15.98 kB / 0.5707 GB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.6258, allocations: 42.83 kB / 0.5708 GB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.6259, allocations: 23.67 kB / 0.5708 GB, free: 6.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004296/0.6263, allocations: 425.8 kB / 0.5712 GB, free: 6.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6263, allocations: 0 / 0.5712 GB, free: 6.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005346/0.6268, allocations: 87.67 kB / 0.5713 GB, free: 6.25 MB / 378.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.0009075/0.6277, allocations: 405.1 kB / 0.5717 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.6281, allocations: 263.3 kB / 0.5719 GB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6282, allocations: 4 kB / 0.5719 GB, free: 5.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.6283, allocations: 147 kB / 0.5721 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/0.6291, allocations: 112.3 kB / 0.5722 GB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.6303, allocations: 0.6971 MB / 0.5729 GB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.6307, allocations: 0.8671 MB / 0.5737 GB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.631, allocations: 91.28 kB / 0.5738 GB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.6311, allocations: 53.23 kB / 0.5738 GB, free: 3.828 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6311, allocations: 0 / 0.5738 GB, free: 3.828 MB / 378.7 MB Notification: Performance of Templates: time 0.01035/0.6415, allocations: 5.427 MB / 0.5791 GB, free: 14.43 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/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_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches