Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002002/0.002002, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.678/1.678, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.000855/0.0008551, allocations: 86.16 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.208/0.208, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.463e-05, allocations: 8 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.5242, allocations: 86.75 MB / 0.5507 GB, free: 8.195 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.5245, allocations: 73.62 kB / 0.5507 GB, free: 8.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.5363, allocations: 5.066 MB / 0.5557 GB, free: 4.152 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5364, allocations: 4 kB / 0.5557 GB, free: 4.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.5364, allocations: 4 kB / 0.5557 GB, free: 4.145 MB / 362.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.0003808/0.5368, allocations: 381.7 kB / 0.556 GB, free: 3.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5368, allocations: 8.031 kB / 0.5561 GB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.797e-05/0.5369, allocations: 7.906 kB / 0.5561 GB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.5371, allocations: 218.2 kB / 0.5563 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.5372, allocations: 0 / 0.5563 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.5372, allocations: 3.938 kB / 0.5563 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.103e-05/0.5373, allocations: 23.67 kB / 0.5563 GB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.5374, allocations: 45.56 kB / 0.5563 GB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5374, allocations: 0 / 0.5563 GB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.5375, allocations: 0 / 0.5563 GB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5375, allocations: 0 / 0.5563 GB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.5377, allocations: 161.6 kB / 0.5565 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/0.5378, allocations: 46 kB / 0.5565 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.5378, allocations: 20.8 kB / 0.5566 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.5378, allocations: 4 kB / 0.5566 GB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.5379, allocations: 67.27 kB / 0.5566 GB, free: 3.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.5379, allocations: 0 / 0.5566 GB, free: 3.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001781/0.5381, allocations: 77.2 kB / 0.5567 GB, free: 3.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.5382, allocations: 51.41 kB / 0.5568 GB, free: 2.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.5383, allocations: 151.8 kB / 0.5569 GB, free: 2.809 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.5383, allocations: 29.7 kB / 0.5569 GB, free: 2.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.5383, allocations: 99.7 kB / 0.557 GB, free: 2.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.5384, allocations: 11.83 kB / 0.557 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.5384, allocations: 4 kB / 0.557 GB, free: 2.672 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.5384, allocations: 314.7 kB / 0.5573 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.5385, allocations: 15.86 kB / 0.5573 GB, free: 2.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.5385, allocations: 33.39 kB / 0.5574 GB, free: 2.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.5385, allocations: 19.61 kB / 0.5574 GB, free: 2.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5386, allocations: 0 / 0.5574 GB, free: 2.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.805e-05/0.5387, allocations: 77.27 kB / 0.5575 GB, free: 2.227 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.5387, allocations: 4 kB / 0.5575 GB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5387, allocations: 0 / 0.5575 GB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5387, allocations: 4 kB / 0.5575 GB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.5388, allocations: 11.94 kB / 0.5575 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.5388, allocations: 0 / 0.5575 GB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.5388, allocations: 8.109 kB / 0.5575 GB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5389, allocations: 7.938 kB / 0.5575 GB, free: 2.195 MB / 362.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.124e-05/0.5389, allocations: 109 kB / 0.5576 GB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.5389, allocations: 11.86 kB / 0.5576 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.5391, allocations: 85.2 kB / 0.5577 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5391, allocations: 0 / 0.5577 GB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5391, allocations: 3.984 kB / 0.5577 GB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5391, allocations: 0 / 0.5577 GB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.5392, allocations: 169.5 kB / 0.5579 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5392, allocations: 0 / 0.5579 GB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.653e-05/0.5393, allocations: 7.938 kB / 0.5579 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5393, allocations: 4 kB / 0.5579 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5393, allocations: 7.891 kB / 0.5579 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.5393, allocations: 4 kB / 0.5579 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5393, allocations: 0 / 0.5579 GB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.5394, allocations: 108.4 kB / 0.558 GB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.135e-05/0.5395, allocations: 92.88 kB / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5395, allocations: 0 / 0.5581 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.5396, allocations: 11.95 kB / 0.5581 GB, free: 1.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.5396, allocations: 4 kB / 0.5581 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.5396, allocations: 3.984 kB / 0.5581 GB, free: 1.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.627e-05/0.5397, allocations: 123.5 kB / 0.5582 GB, free: 1.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5397, allocations: 3.938 kB / 0.5582 GB, free: 1.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.5399, allocations: 20 kB / 0.5582 GB, free: 1.414 MB / 362.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.0007296/0.5406, allocations: 355.2 kB / 0.5586 GB, free: 1.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.862e-05/0.5407, allocations: 31.48 kB / 0.5586 GB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5407, allocations: 0 / 0.5586 GB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.5408, allocations: 27.56 kB / 0.5586 GB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.541, allocations: 19.8 kB / 0.5587 GB, free: 1.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.5413, allocations: 128.8 kB / 0.5588 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.5414, allocations: 0.708 MB / 0.5595 GB, free: 192 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.098e-05/0.5415, allocations: 8.438 kB / 0.5595 GB, free: 184 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.5415, allocations: 15.42 kB / 0.5595 GB, free: 168 kB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5415, allocations: 0 / 0.5595 GB, free: 168 kB / 362.7 MB Notification: Performance of Templates: time 0.003692/0.5452, allocations: 1.391 MB / 0.5609 GB, free: 14.79 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time