Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 173.7 kB / 8.74 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.289/1.289, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.000933/0.000933, allocations: 108.4 kB / 281.6 MB, free: 5.316 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.181/0.181, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.546e-05, allocations: 8.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1313, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3997/0.531, allocations: 88.38 MB / 0.581 GB, free: 8.137 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.5313, allocations: 75.95 kB / 0.5811 GB, free: 8.062 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.5461, allocations: 5.382 MB / 0.5863 GB, free: 2.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5462, allocations: 0 / 0.5863 GB, free: 2.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.5462, allocations: 0 / 0.5863 GB, free: 2.688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004293/0.5467, allocations: 393.2 kB / 0.5867 GB, free: 2.262 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5467, allocations: 15.98 kB / 0.5867 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.5468, allocations: 7.906 kB / 0.5867 GB, free: 2.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.5471, allocations: 210.7 kB / 0.5869 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5471, allocations: 3.938 kB / 0.5869 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.5471, allocations: 11.94 kB / 0.5869 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.566e-05/0.5472, allocations: 12 kB / 0.5869 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.686e-05/0.5473, allocations: 45.67 kB / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.5473, allocations: 0 / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5473, allocations: 0 / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.5473, allocations: 0 / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.5475, allocations: 166.2 kB / 0.5871 GB, free: 1.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.5476, allocations: 46.56 kB / 0.5872 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.5477, allocations: 16.86 kB / 0.5872 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.5477, allocations: 7.938 kB / 0.5872 GB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.5478, allocations: 67.44 kB / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.5478, allocations: 0 / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001978/0.548, allocations: 73.59 kB / 0.5873 GB, free: 1.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.5481, allocations: 51.41 kB / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5482, allocations: 165.3 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.5483, allocations: 25.7 kB / 0.5876 GB, free: 1.215 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.5483, allocations: 100.1 kB / 0.5877 GB, free: 1.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/0.5484, allocations: 19.75 kB / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.5484, allocations: 0 / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5485, allocations: 326.8 kB / 0.588 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.832e-05/0.5485, allocations: 11.98 kB / 0.588 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.5486, allocations: 29.7 kB / 0.588 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.115e-05/0.5486, allocations: 12 kB / 0.5881 GB, free: 0.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5486, allocations: 0 / 0.5881 GB, free: 0.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001126/0.5487, allocations: 81.58 kB / 0.5881 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.5488, allocations: 8 kB / 0.5881 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5488, allocations: 0 / 0.5881 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5488, allocations: 7.984 kB / 0.5881 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.5489, allocations: 8 kB / 0.5882 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5489, allocations: 160 / 0.5882 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.431e-05/0.5489, allocations: 4 kB / 0.5882 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.549, allocations: 15.97 kB / 0.5882 GB, free: 0.5781 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.812e-05/0.549, allocations: 103.2 kB / 0.5883 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.5491, allocations: 15.81 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.5492, allocations: 82.02 kB / 0.5884 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5492, allocations: 8 kB / 0.5884 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5492, allocations: 3.953 kB / 0.5884 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5493, allocations: 0 / 0.5884 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.5494, allocations: 166.2 kB / 0.5885 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5494, allocations: 0 / 0.5885 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.5494, allocations: 4 kB / 0.5885 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5494, allocations: 3.938 kB / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5494, allocations: 0 / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5495, allocations: 0 / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.5495, allocations: 7.984 kB / 0.5885 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.5496, allocations: 116.9 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.5497, allocations: 92.94 kB / 0.5887 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.5497, allocations: 4 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.308e-05/0.5498, allocations: 0 / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.5498, allocations: 16.11 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.5498, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.5499, allocations: 129 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5499, allocations: 4 kB / 0.5889 GB, free: 15.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.5502, allocations: 31.89 kB / 0.5889 GB, free: 15.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007525/0.5509, allocations: 345.6 kB / 0.5893 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.551, allocations: 39.94 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.551, allocations: 0 / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.5511, allocations: 19.98 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5513, allocations: 24.05 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.5516, allocations: 136.1 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.5519, allocations: 0.7041 MB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.591e-05/0.552, allocations: 8.688 kB / 0.5902 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.552, allocations: 23.42 kB / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.552, allocations: 4 kB / 0.5902 GB, free: 14.44 MB / 410.7 MB Notification: Performance of Templates: time 0.003692/0.5557, allocations: 1.407 MB / 0.5916 GB, free: 13.04 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches