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.001089/0.001089, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001165/0.001165, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.448/1.448, allocations: 222.9 MB / 242.5 MB, free: 15.33 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.2382/0.2382, allocations: 44.18 MB / 336.8 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 64.08 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 60.84 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003421/0.1175, allocations: 2.267 MB / 471.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1193, allocations: 1.185 MB / 472.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1195, allocations: 7.938 kB / 472.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1198, allocations: 123.6 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.1202, allocations: 175.4 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006225/0.1208, allocations: 291.5 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.1212, allocations: 410.7 kB / 473.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1214, allocations: 52.72 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.1217, allocations: 275 kB / 474 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1218, allocations: 159.1 kB / 474.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.1219, allocations: 8 kB / 474.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.122, allocations: 59.98 kB / 474.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1222, allocations: 139.5 kB / 474.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.1223, allocations: 198.3 kB / 474.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.1227, allocations: 327.6 kB / 474.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1227, allocations: 4 kB / 474.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1227, allocations: 0 / 474.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1227, allocations: 0 / 474.8 MB, free: 9.145 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.001035/0.1237, allocations: 0.8632 MB / 475.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1238, allocations: 12.03 kB / 475.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.882e-05/0.1239, allocations: 68.08 kB / 475.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.1243, allocations: 436.2 kB / 476.2 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1244, allocations: 8.375 kB / 476.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1244, allocations: 24.03 kB / 476.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.1248, allocations: 193.4 kB / 476.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1248, allocations: 4 kB / 476.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.1248, allocations: 11.94 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1248, allocations: 4 kB / 476.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002464/0.1251, allocations: 99.84 kB / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008452/0.126, allocations: 0.8132 MB / 477.3 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/0.1266, allocations: 246.5 kB / 477.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1268, allocations: 91.52 kB / 477.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1269, allocations: 7.984 kB / 477.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.1273, allocations: 204.3 kB / 477.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.1273, allocations: 0 / 477.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002431/0.1297, allocations: 1.141 MB / 479 MB, free: 4.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.1298, allocations: 140.5 kB / 479.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009931/0.1308, allocations: 0.9221 MB / 480.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1309, allocations: 37.7 kB / 480.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.1311, allocations: 264.9 kB / 480.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.1313, allocations: 142 kB / 480.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1314, allocations: 90.03 kB / 480.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1315, allocations: 378.8 kB / 481 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.1318, allocations: 104.8 kB / 481.1 MB, free: 2.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.1321, allocations: 187.2 kB / 481.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005037/0.1326, allocations: 315.1 kB / 481.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1326, allocations: 4 kB / 481.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007532/0.1334, allocations: 440.7 kB / 482 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1334, allocations: 7.938 kB / 482 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.1334, allocations: 4 kB / 482 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1334, allocations: 4 kB / 482 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.1337, allocations: 91.83 kB / 482.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1337, allocations: 4 kB / 482.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.1339, allocations: 31.95 kB / 482.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.1339, allocations: 16 kB / 482.2 MB, free: 1.438 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.0002722/0.1342, allocations: 248 kB / 482.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1343, allocations: 75.16 kB / 482.5 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.1345, allocations: 89.58 kB / 482.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1345, allocations: 4 kB / 482.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1345, allocations: 0 / 482.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1345, allocations: 7.938 kB / 482.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.1363, allocations: 1.33 MB / 483.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1363, allocations: 0 / 483.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1365, allocations: 59.91 kB / 484 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1365, allocations: 4 kB / 484 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.1365, allocations: 23.98 kB / 484 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1365, allocations: 4 kB / 484 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.1365, allocations: 4.188 kB / 484 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.1375, allocations: 0.7927 MB / 484.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.1377, allocations: 172.2 kB / 485 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.1378, allocations: 15.98 kB / 485 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1381, allocations: 19.98 kB / 485 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.516e-05/0.1382, allocations: 47.83 kB / 485 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.1382, allocations: 20 kB / 485.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006841/0.1389, allocations: 0.6747 MB / 485.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1389, allocations: 0 / 485.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005405/0.1395, allocations: 91.98 kB / 485.8 MB, free: 13.61 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.001264/0.1407, allocations: 0.5305 MB / 486.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.1414, allocations: 311.6 kB / 486.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.1414, allocations: 0 / 486.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.1417, allocations: 176.2 kB / 486.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009514/0.1427, allocations: 126.6 kB / 487 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1446, allocations: 1.386 MB / 488.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.1451, allocations: 0.9112 MB / 489.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.1453, allocations: 55.36 kB / 489.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 4.9e-07/0.1453, allocations: 0 / 489.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01092/0.1562, allocations: 6.597 MB / 495.9 MB, free: 3.688 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