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.001472/0.001472, allocations: 184.6 kB / 15.76 MB, free: 6.367 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.747/1.747, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009027/0.0009027, allocations: 78.88 kB / 270.2 MB, free: 13.38 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.231/0.231, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003576, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 58.85 MB / 490.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4328/0.5744, allocations: 88.03 MB / 0.5647 GB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.5748, allocations: 74.83 kB / 0.5648 GB, free: 11.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03011/0.6049, allocations: 11.03 MB / 0.5756 GB, free: 2.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6049, allocations: 192 / 0.5756 GB, free: 2.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.766e-05/0.605, allocations: 11.94 kB / 0.5756 GB, free: 2.387 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.001135/0.6061, allocations: 0.735 MB / 0.5763 GB, free: 1.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6062, allocations: 16.02 kB / 0.5763 GB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.6063, allocations: 51.34 kB / 0.5764 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008357/0.6071, allocations: 429 kB / 0.5768 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.6072, allocations: 15.8 kB / 0.5768 GB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.6072, allocations: 15.94 kB / 0.5768 GB, free: 1.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.6076, allocations: 211.9 kB / 0.577 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.6077, allocations: 0 / 0.577 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.6077, allocations: 7.938 kB / 0.577 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6077, allocations: 0 / 0.577 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.608, allocations: 111 kB / 0.5771 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.6091, allocations: 0.89 MB / 0.578 GB, free: 15.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.6097, allocations: 302.8 kB / 0.5783 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.6097, allocations: 6.625 kB / 0.5783 GB, free: 15.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.6101, allocations: 239.8 kB / 0.5785 GB, free: 15.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 1.813e-06/0.6101, allocations: 0 / 0.5785 GB, free: 15.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.002166/0.6123, allocations: 0.9977 MB / 0.5795 GB, free: 14.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.6124, allocations: 162.2 kB / 0.5796 GB, free: 14.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007279/0.6132, allocations: 0.5619 MB / 0.5802 GB, free: 13.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.6132, allocations: 38.58 kB / 0.5802 GB, free: 13.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.6134, allocations: 218.9 kB / 0.5804 GB, free: 13.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.6135, allocations: 125.3 kB / 0.5806 GB, free: 13.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/0.6135, allocations: 7.812 kB / 0.5806 GB, free: 13.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.6137, allocations: 366.7 kB / 0.5809 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.6139, allocations: 110.1 kB / 0.581 GB, free: 13.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.6142, allocations: 184.3 kB / 0.5812 GB, free: 13.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.6145, allocations: 122.5 kB / 0.5813 GB, free: 13.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6145, allocations: 0 / 0.5813 GB, free: 13.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007554/0.6152, allocations: 416.6 kB / 0.5817 GB, free: 12.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.6153, allocations: 11.44 kB / 0.5817 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.6153, allocations: 1.875 kB / 0.5817 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.6153, allocations: 4 kB / 0.5817 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.6156, allocations: 86.83 kB / 0.5818 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.6157, allocations: 8 kB / 0.5818 GB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.6159, allocations: 22.23 kB / 0.5818 GB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.6159, allocations: 15.25 kB / 0.5818 GB, free: 12.6 MB / 394.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 () * Number of clocked 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.0002505/0.6162, allocations: 219.1 kB / 0.5821 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.6163, allocations: 67.14 kB / 0.5821 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/0.6172, allocations: 482.4 kB / 0.5826 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.6172, allocations: 4 kB / 0.5826 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6172, allocations: 8 kB / 0.5826 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.6172, allocations: 0 / 0.5826 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.619, allocations: 1.374 MB / 0.5839 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6191, allocations: 0 / 0.5839 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.6192, allocations: 59.28 kB / 0.584 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.6192, allocations: 4 kB / 0.584 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.6193, allocations: 18.62 kB / 0.584 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.6193, allocations: 7.984 kB / 0.584 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6193, allocations: 7.938 kB / 0.584 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009875/0.6203, allocations: 0.961 MB / 0.585 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.6205, allocations: 154.4 kB / 0.5851 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.6206, allocations: 13.44 kB / 0.5851 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.6209, allocations: 23.23 kB / 0.5851 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.621, allocations: 39.64 kB / 0.5852 GB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.6211, allocations: 23.11 kB / 0.5852 GB, free: 9.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005547/0.6216, allocations: 457.4 kB / 0.5856 GB, free: 9.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6216, allocations: 0 / 0.5856 GB, free: 9.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005934/0.6222, allocations: 109.1 kB / 0.5857 GB, free: 9.027 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) * Number of clocked states: 0 () * 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.001155/0.6234, allocations: 494.8 kB / 0.5862 GB, free: 8.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000643/0.624, allocations: 304.6 kB / 0.5865 GB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6241, allocations: 0 / 0.5865 GB, free: 8.375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.6244, allocations: 173.7 kB / 0.5867 GB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.6251, allocations: 121.8 kB / 0.5868 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.6266, allocations: 0.9983 MB / 0.5878 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.6272, allocations: 0.8655 MB / 0.5886 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002669/0.6274, allocations: 98.59 kB / 0.5887 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.6276, allocations: 50.98 kB / 0.5888 GB, free: 6.16 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.6276, allocations: 0 / 0.5888 GB, free: 6.16 MB / 394.7 MB Notification: Performance of Templates: time 0.01134/0.6389, allocations: 5.689 MB / 0.5943 GB, free: 0.4922 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