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.001162/0.001162, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001158/0.001158, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.366/1.366, allocations: 222.9 MB / 243 MB, free: 15.08 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.2074/0.2074, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 69.83 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1148, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003667/0.1185, allocations: 2.224 MB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1205, allocations: 1.193 MB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.1208, allocations: 3.938 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.1212, allocations: 139.4 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.1217, allocations: 191.1 kB / 474.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.1225, allocations: 321.4 kB / 474.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005283/0.123, allocations: 426.8 kB / 475.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1232, allocations: 52.72 kB / 475.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.1235, allocations: 291.1 kB / 475.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.1238, allocations: 155.2 kB / 475.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.1238, allocations: 16 kB / 475.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.124, allocations: 71.95 kB / 475.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.1242, allocations: 155.4 kB / 475.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1243, allocations: 190.4 kB / 476.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.1249, allocations: 474 kB / 476.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1249, allocations: 0 / 476.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1249, allocations: 0 / 476.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1249, allocations: 0 / 476.6 MB, free: 7.766 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.001137/0.126, allocations: 0.8592 MB / 477.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1261, allocations: 8.031 kB / 477.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.1262, allocations: 76.09 kB / 477.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005751/0.1268, allocations: 432.2 kB / 477.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1268, allocations: 20.3 kB / 477.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.1269, allocations: 20.03 kB / 478 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.1273, allocations: 189 kB / 478.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1273, allocations: 7.984 kB / 478.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.1273, allocations: 8 kB / 478.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.1273, allocations: 4 kB / 478.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002406/0.1276, allocations: 87.88 kB / 478.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/0.1286, allocations: 0.8172 MB / 479.1 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006552/0.1292, allocations: 254.4 kB / 479.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1294, allocations: 83.53 kB / 479.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.1295, allocations: 8.062 kB / 479.4 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.1298, allocations: 206.1 kB / 479.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.1298, allocations: 0 / 479.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002444/0.1323, allocations: 1.149 MB / 480.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.1324, allocations: 132.5 kB / 480.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/0.1333, allocations: 0.9221 MB / 481.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.1334, allocations: 41.7 kB / 481.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1335, allocations: 260.9 kB / 482.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1337, allocations: 142.1 kB / 482.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.1338, allocations: 78.05 kB / 482.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1339, allocations: 386.8 kB / 482.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.1342, allocations: 108.8 kB / 482.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1345, allocations: 191 kB / 483 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.135, allocations: 319.1 kB / 483.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.135, allocations: 0 / 483.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007188/0.1357, allocations: 436.5 kB / 483.7 MB, free: 228 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1357, allocations: 11.94 kB / 483.7 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1357, allocations: 0 / 483.7 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1358, allocations: 4 kB / 483.7 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.136, allocations: 83.91 kB / 483.8 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1361, allocations: 7.984 kB / 483.8 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.1362, allocations: 23.84 kB / 483.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.1363, allocations: 28.11 kB / 483.9 MB, free: 68 kB / 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.0002877/0.1366, allocations: 247.9 kB / 484.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.1367, allocations: 75.08 kB / 484.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.1368, allocations: 89.59 kB / 484.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1368, allocations: 11.98 kB / 484.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1368, allocations: 0 / 484.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1368, allocations: 3.938 kB / 484.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.1385, allocations: 1.322 MB / 485.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1385, allocations: 8.25 kB / 485.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1387, allocations: 55.91 kB / 485.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.1387, allocations: 8 kB / 485.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.1387, allocations: 16 kB / 485.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.926e-06/0.1387, allocations: 15.92 kB / 485.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1387, allocations: 4 kB / 485.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/0.1396, allocations: 0.7888 MB / 486.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.1398, allocations: 176.2 kB / 486.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-05/0.1399, allocations: 11.98 kB / 486.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.1402, allocations: 23.98 kB / 486.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.1403, allocations: 35.84 kB / 486.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.1403, allocations: 23.98 kB / 486.8 MB, free: 13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006793/0.141, allocations: 0.6829 MB / 487.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.141, allocations: 0 / 487.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005581/0.1416, allocations: 84 kB / 487.6 MB, free: 12.24 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.001161/0.1428, allocations: 0.5271 MB / 488.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.1434, allocations: 331.6 kB / 488.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1434, allocations: 0 / 488.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.1437, allocations: 159.7 kB / 488.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009111/0.1446, allocations: 125 kB / 488.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.1462, allocations: 1.169 MB / 489.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.1466, allocations: 0.9107 MB / 490.8 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.1468, allocations: 79.25 kB / 490.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1469, allocations: 51.42 kB / 490.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1469, allocations: 0 / 490.9 MB, free: 9.027 MB / 366.1 MB Notification: Performance of Templates: time 0.01014/0.1571, allocations: 5.381 MB / 496.3 MB, free: 3.695 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 -s gbode -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