Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 171.2 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008932, allocations: 98.95 kB / 281.6 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2005/0.2005, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.935e-05, allocations: 8 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5316, allocations: 88.55 MB / 0.5812 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.532, allocations: 79.94 kB / 0.5812 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.5476, allocations: 5.65 MB / 0.5867 GB, free: 2.277 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5476, allocations: 0 / 0.5867 GB, free: 2.277 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.5477, allocations: 4 kB / 0.5868 GB, free: 2.273 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.0004626/0.5481, allocations: 402.2 kB / 0.5871 GB, free: 1.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5482, allocations: 15.98 kB / 0.5872 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.5482, allocations: 11.81 kB / 0.5872 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.5485, allocations: 216.6 kB / 0.5874 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.5486, allocations: 3.953 kB / 0.5874 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.5486, allocations: 4 kB / 0.5874 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.214e-05/0.5487, allocations: 23.86 kB / 0.5874 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/0.5488, allocations: 49.69 kB / 0.5874 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5488, allocations: 0 / 0.5874 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5488, allocations: 7.984 kB / 0.5875 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5488, allocations: 0 / 0.5875 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.5492, allocations: 281.3 kB / 0.5877 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.822e-05/0.5493, allocations: 54.62 kB / 0.5878 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.993e-05/0.5494, allocations: 16.98 kB / 0.5878 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.5494, allocations: 0 / 0.5878 GB, free: 1.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.5495, allocations: 67.39 kB / 0.5879 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.5496, allocations: 0 / 0.5879 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004169/0.55, allocations: 149.2 kB / 0.588 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.55, allocations: 51.41 kB / 0.588 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.5502, allocations: 193.4 kB / 0.5882 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5502, allocations: 25.7 kB / 0.5883 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.5503, allocations: 108.1 kB / 0.5884 GB, free: 448 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.5503, allocations: 19.66 kB / 0.5884 GB, free: 428 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.5503, allocations: 8.75 kB / 0.5884 GB, free: 420 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.5504, allocations: 318.8 kB / 0.5887 GB, free: 92 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.5505, allocations: 23.98 kB / 0.5887 GB, free: 68 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.5505, allocations: 33.66 kB / 0.5887 GB, free: 28 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.5506, allocations: 27.94 kB / 0.5888 GB, free: 0 / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5506, allocations: 0 / 0.5888 GB, free: 0 / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001505/0.5507, allocations: 97.42 kB / 0.5889 GB, free: 15.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5508, allocations: 4 kB / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.5508, allocations: 4.031 kB / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5508, allocations: 0 / 0.5889 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.5509, allocations: 19.98 kB / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5509, allocations: 0 / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.551, allocations: 192 / 0.5889 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-06/0.551, allocations: 8 kB / 0.5889 GB, free: 15.86 MB / 410.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 () * 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 7.57e-05/0.5511, allocations: 119.5 kB / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.5511, allocations: 7.906 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.5513, allocations: 115.4 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5513, allocations: 0 / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5513, allocations: 0 / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5513, allocations: 3.938 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.5517, allocations: 384 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5517, allocations: 3.984 kB / 0.5895 GB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.5518, allocations: 11.94 kB / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5518, allocations: 0 / 0.5895 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5518, allocations: 8.031 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5518, allocations: 80 / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5518, allocations: 3.984 kB / 0.5895 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.552, allocations: 218.1 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.5521, allocations: 96.91 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.5521, allocations: 4 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.5522, allocations: 4 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.5522, allocations: 11.98 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.5523, allocations: 4 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5524, allocations: 152.6 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5524, allocations: 0 / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.5527, allocations: 31.92 kB / 0.59 GB, free: 14.61 MB / 410.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) * 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.0008464/0.5535, allocations: 391.9 kB / 0.5904 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.5536, allocations: 44 kB / 0.5904 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5536, allocations: 8.062 kB / 0.5904 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.407e-05/0.5537, allocations: 31.92 kB / 0.5905 GB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.554, allocations: 23.94 kB / 0.5905 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.5543, allocations: 181.9 kB / 0.5907 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.5546, allocations: 0.7196 MB / 0.5914 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.5547, allocations: 20.92 kB / 0.5914 GB, free: 13.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.5547, allocations: 19.44 kB / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5547, allocations: 0 / 0.5914 GB, free: 13.2 MB / 410.7 MB Notification: Performance of Templates: time 0.004012/0.5587, allocations: 1.674 MB / 0.5931 GB, free: 11.54 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches