Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 183 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2029/0.2029, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.08 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3257, allocations: 60.82 MB / 0.5197 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003035/0.3288, allocations: 2.234 MB / 0.5219 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3306, allocations: 1.19 MB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.3308, allocations: 4.281 kB / 0.523 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.3311, allocations: 126.7 kB / 0.5231 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003836/0.3316, allocations: 181.5 kB / 0.5233 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/0.3323, allocations: 323.4 kB / 0.5236 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007002/0.333, allocations: 418.7 kB / 0.524 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.3332, allocations: 57.73 kB / 0.5241 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005555/0.3338, allocations: 287.6 kB / 0.5244 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.334, allocations: 145.9 kB / 0.5245 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.3341, allocations: 16.16 kB / 0.5245 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.3343, allocations: 73.97 kB / 0.5246 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3344, allocations: 125.9 kB / 0.5247 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.3346, allocations: 188.7 kB / 0.5249 GB, free: 364 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005007/0.3351, allocations: 417.8 kB / 0.5253 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3351, allocations: 1.172 kB / 0.5253 GB, free: 180 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3351, allocations: 1.5 kB / 0.5253 GB, free: 180 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3351, allocations: 0 / 0.5253 GB, free: 180 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001102/0.3363, allocations: 0.7935 MB / 0.5261 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3363, allocations: 8.953 kB / 0.5261 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.3364, allocations: 63.19 kB / 0.5261 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005761/0.337, allocations: 402.3 kB / 0.5265 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.337, allocations: 10.58 kB / 0.5265 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.3371, allocations: 20.58 kB / 0.5265 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.3375, allocations: 198.3 kB / 0.5267 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3375, allocations: 5.984 kB / 0.5267 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3375, allocations: 6.641 kB / 0.5267 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3375, allocations: 4.125 kB / 0.5267 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/0.3378, allocations: 95.19 kB / 0.5268 GB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009025/0.3387, allocations: 0.7925 MB / 0.5276 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.3394, allocations: 252.1 kB / 0.5278 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.3396, allocations: 90.8 kB / 0.5279 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.3396, allocations: 3.25 kB / 0.5279 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.34, allocations: 202.1 kB / 0.5281 GB, free: 13.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.34, allocations: 0 / 0.5281 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002494/0.3425, allocations: 1.097 MB / 0.5292 GB, free: 13.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.3426, allocations: 132.7 kB / 0.5293 GB, free: 13.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009498/0.3435, allocations: 0.7498 MB / 0.5301 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.3436, allocations: 42.59 kB / 0.5301 GB, free: 12.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.3438, allocations: 235.5 kB / 0.5303 GB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.3439, allocations: 143 kB / 0.5305 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.344, allocations: 78.77 kB / 0.5305 GB, free: 12.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3442, allocations: 379.6 kB / 0.5309 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3444, allocations: 112.1 kB / 0.531 GB, free: 11.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3447, allocations: 179.6 kB / 0.5312 GB, free: 11.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/0.3453, allocations: 325.5 kB / 0.5315 GB, free: 11.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.3453, allocations: 4 kB / 0.5315 GB, free: 11.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007813/0.3461, allocations: 435.9 kB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3461, allocations: 8.281 kB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.3461, allocations: 1.562 kB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3461, allocations: 3.969 kB / 0.5319 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.3464, allocations: 93.05 kB / 0.532 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3464, allocations: 3.594 kB / 0.532 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3466, allocations: 29.2 kB / 0.532 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.3467, allocations: 16.25 kB / 0.5321 GB, free: 11.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.3469, allocations: 232.8 kB / 0.5323 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.451e-05/0.347, allocations: 65.44 kB / 0.5323 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.3472, allocations: 73.5 kB / 0.5324 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.3472, allocations: 5.422 kB / 0.5324 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3472, allocations: 1.312 kB / 0.5324 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.3474, allocations: 169.6 kB / 0.5326 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.915e-05/0.3475, allocations: 16.39 kB / 0.5326 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3476, allocations: 19.27 kB / 0.5326 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.3477, allocations: 29.09 kB / 0.5326 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008733/0.3486, allocations: 0.7083 MB / 0.5333 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009088/0.3495, allocations: 0.8213 MB / 0.5341 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002795/0.3498, allocations: 147 kB / 0.5343 GB, free: 9.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.3505, allocations: 0.5521 MB / 0.5348 GB, free: 9.371 MB / 398.1 MB Notification: Performance of Backend: time 5.81e-07/0.3505, allocations: 0 / 0.5348 GB, free: 9.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.3527, allocations: 0.7678 MB / 0.5356 GB, free: 9.035 MB / 398.1 MB Notification: Performance of SimCode: time 0.001936/0.3547, allocations: 1.344 MB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of Templates: time 0.01225/0.367, allocations: 5.639 MB / 0.5424 GB, free: 4.512 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches