Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001137/0.001137, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.313/1.313, allocations: 222.9 MB / 242.6 MB, free: 15.32 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.1993/0.1993, allocations: 44.16 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 70.11 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1138, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004108/0.1179, allocations: 2.274 MB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.1201, allocations: 1.177 MB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.1204, allocations: 4 kB / 472.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.1209, allocations: 131.5 kB / 473 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.1215, allocations: 175.4 kB / 473.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007963/0.1223, allocations: 297.3 kB / 473.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006224/0.1229, allocations: 422.8 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.1232, allocations: 56.7 kB / 473.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004167/0.1236, allocations: 295 kB / 474.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.1239, allocations: 167.2 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.124, allocations: 16 kB / 474.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.1241, allocations: 63.98 kB / 474.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.1243, allocations: 155.4 kB / 474.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.1245, allocations: 198.4 kB / 474.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.125, allocations: 339.6 kB / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.125, allocations: 0 / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.125, allocations: 0 / 475.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.125, allocations: 0 / 475.1 MB, free: 8.98 MB / 350.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.001322/0.1264, allocations: 0.871 MB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1264, allocations: 8.031 kB / 476 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1265, allocations: 68.09 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/0.1271, allocations: 428.2 kB / 476.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1271, allocations: 8.375 kB / 476.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.1271, allocations: 28.02 kB / 476.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.1276, allocations: 189.5 kB / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1276, allocations: 0 / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.1277, allocations: 11.98 kB / 476.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1277, allocations: 4 kB / 476.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.1279, allocations: 95.8 kB / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.129, allocations: 0.8171 MB / 477.6 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/0.1297, allocations: 250.4 kB / 477.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1299, allocations: 87.52 kB / 478 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1299, allocations: 8 kB / 478 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.1303, allocations: 208.4 kB / 478.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.1304, allocations: 0 / 478.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002709/0.1331, allocations: 1.145 MB / 479.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.1332, allocations: 136.5 kB / 479.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1342, allocations: 0.9221 MB / 480.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.1343, allocations: 41.7 kB / 480.4 MB, free: 3.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.1345, allocations: 260.9 kB / 480.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.1346, allocations: 142.1 kB / 480.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1347, allocations: 74.14 kB / 480.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1349, allocations: 382.8 kB / 481.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.1352, allocations: 116.8 kB / 481.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.1354, allocations: 187.2 kB / 481.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005038/0.1359, allocations: 315 kB / 481.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.136, allocations: 4 kB / 481.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007838/0.1367, allocations: 440.5 kB / 482.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.1368, allocations: 8 kB / 482.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1368, allocations: 3.984 kB / 482.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1368, allocations: 7.984 kB / 482.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.1371, allocations: 84.03 kB / 482.4 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.1371, allocations: 4.234 kB / 482.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1373, allocations: 23.92 kB / 482.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.1373, allocations: 20 kB / 482.4 MB, free: 1.285 MB / 350.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.0002952/0.1376, allocations: 251.9 kB / 482.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.1377, allocations: 75.05 kB / 482.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.1379, allocations: 93.3 kB / 482.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1379, allocations: 4 kB / 482.8 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/0.1379, allocations: 8 kB / 482.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.1379, allocations: 7.922 kB / 482.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.1397, allocations: 1.318 MB / 484.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.1397, allocations: 8 kB / 484.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1398, allocations: 63.86 kB / 484.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1398, allocations: 8.234 kB / 484.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.1399, allocations: 16 kB / 484.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1399, allocations: 4 kB / 484.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1399, allocations: 4 kB / 484.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.1408, allocations: 0.7849 MB / 485.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.141, allocations: 180.2 kB / 485.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.1411, allocations: 20 kB / 485.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.1414, allocations: 15.98 kB / 485.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.1415, allocations: 39.83 kB / 485.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.1415, allocations: 23.98 kB / 485.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006838/0.1422, allocations: 0.6748 MB / 486 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1422, allocations: 0 / 486 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005308/0.1428, allocations: 91.98 kB / 486.1 MB, free: 13.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001248/0.144, allocations: 0.5291 MB / 486.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000638/0.1447, allocations: 331.6 kB / 487 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.1447, allocations: 4 kB / 487 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.145, allocations: 171.9 kB / 487.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/0.1459, allocations: 132.9 kB / 487.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001794/0.1477, allocations: 1.385 MB / 488.6 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.1482, allocations: 0.9146 MB / 489.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.1484, allocations: 51.42 kB / 489.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1484, allocations: 0 / 489.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of Templates: time 0.01027/0.1586, allocations: 6.598 MB / 496.2 MB, free: 3.504 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches