Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2137/0.2137, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 76.45 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1351, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003801/0.1389, allocations: 1.832 MB / 483.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1408, allocations: 1.095 MB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.1409, allocations: 0 / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.1414, allocations: 307.3 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.142, allocations: 271.2 kB / 485 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1422, allocations: 103.6 kB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1425, allocations: 263.2 kB / 485.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.1426, allocations: 13.67 kB / 485.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1427, allocations: 131.6 kB / 485.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.143, allocations: 191.5 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.143, allocations: 11.94 kB / 485.7 MB, free: 332 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1431, allocations: 43.98 kB / 485.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.1433, allocations: 135.6 kB / 485.8 MB, free: 152 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1434, allocations: 150.8 kB / 486 MB, free: 0 / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.1438, allocations: 378.6 kB / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1438, allocations: 0 / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.1438, allocations: 0 / 486.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1438, allocations: 3.938 kB / 486.4 MB, free: 15.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009596/0.1448, allocations: 0.7385 MB / 487.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1449, allocations: 8.031 kB / 487.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.1449, allocations: 48.28 kB / 487.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006679/0.1456, allocations: 459.8 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1456, allocations: 4.375 kB / 487.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1457, allocations: 8.125 kB / 487.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1459, allocations: 87.3 kB / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1459, allocations: 0 / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1459, allocations: 0 / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1459, allocations: 0 / 487.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.146, allocations: 31.97 kB / 487.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.1465, allocations: 378.4 kB / 488.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1468, allocations: 109.1 kB / 488.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.862e-05/0.1469, allocations: 49.62 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.1469, allocations: 7.984 kB / 488.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.1471, allocations: 105 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.1471, allocations: 3.938 kB / 488.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004886/0.1476, allocations: 201.4 kB / 488.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.1477, allocations: 85.09 kB / 488.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.1488, allocations: 1.05 MB / 489.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1488, allocations: 29.7 kB / 489.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.149, allocations: 236.1 kB / 490 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.1491, allocations: 31.62 kB / 490 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.627e-05/0.1491, allocations: 25.72 kB / 490 MB, free: 11.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1493, allocations: 374.8 kB / 490.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.1494, allocations: 31.98 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.1495, allocations: 59.36 kB / 490.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.1497, allocations: 83.34 kB / 490.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1497, allocations: 0 / 490.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002934/0.15, allocations: 176.9 kB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.15, allocations: 4 kB / 490.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1501, allocations: 4 kB / 490.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1501, allocations: 0 / 490.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1502, allocations: 23.98 kB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1502, allocations: 3.938 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.472e-05/0.1503, allocations: 15.83 kB / 490.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1503, allocations: 8 kB / 490.8 MB, free: 10.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002017/0.1505, allocations: 222.7 kB / 491 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.1506, allocations: 55.33 kB / 491 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.1507, allocations: 64.14 kB / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.1507, allocations: 0 / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1507, allocations: 192 / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1507, allocations: 0 / 491.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.151, allocations: 349.4 kB / 491.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.151, allocations: 0 / 491.5 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.359e-05/0.1511, allocations: 4 kB / 491.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1511, allocations: 8 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.1511, allocations: 7.984 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1511, allocations: 7.875 kB / 491.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1511, allocations: 4 kB / 491.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1514, allocations: 201.2 kB / 491.7 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1516, allocations: 136.4 kB / 491.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.1516, allocations: 4.094 kB / 491.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.1517, allocations: 15.92 kB / 491.8 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1518, allocations: 7.984 kB / 491.8 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1518, allocations: 8 kB / 491.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007506/0.1525, allocations: 0.7839 MB / 492.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1526, allocations: 0 / 492.6 MB, free: 8.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1528, allocations: 44 kB / 492.7 MB, free: 8.914 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009946/0.1538, allocations: 409.1 kB / 493.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1541, allocations: 87.89 kB / 493.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1541, allocations: 0 / 493.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1542, allocations: 43.92 kB / 493.2 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.1546, allocations: 81.67 kB / 493.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1558, allocations: 0.8707 MB / 494.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006192/0.1564, allocations: 0.8505 MB / 495 MB, free: 6.668 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1566, allocations: 54.89 kB / 495.1 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.1566, allocations: 31.44 kB / 495.1 MB, free: 6.586 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1566, allocations: 3.938 kB / 495.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of Templates: time 0.008491/0.1651, allocations: 3.767 MB / 498.9 MB, free: 2.824 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches