Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 97.58 kB / 17.01 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 193.8 kB / 17.91 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.7 MB / 246.4 MB, free: 9.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002851, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1541, allocations: 63.58 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002136/0.1563, allocations: 1.303 MB / 483.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008776/0.1572, allocations: 0.5032 MB / 484.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.1573, allocations: 0 / 484.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1576, allocations: 87.8 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.1578, allocations: 95.7 kB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.1581, allocations: 95.81 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.1582, allocations: 79.8 kB / 484.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.1583, allocations: 8 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.1584, allocations: 35.84 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.975e-05/0.1585, allocations: 47.81 kB / 484.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1585, allocations: 0 / 484.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.1586, allocations: 36 kB / 484.7 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.878e-05/0.1587, allocations: 19.91 kB / 484.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.1588, allocations: 41.58 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.159, allocations: 87.81 kB / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.159, allocations: 0 / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.159, allocations: 0 / 484.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.159, allocations: 0 / 484.8 MB, free: 2.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004777/0.1595, allocations: 409.3 kB / 485.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1595, allocations: 12.03 kB / 485.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1596, allocations: 7.906 kB / 485.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.1598, allocations: 211.2 kB / 485.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1598, allocations: 4 kB / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1599, allocations: 0 / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.16, allocations: 57.67 kB / 485.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.16, allocations: 4 kB / 485.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.16, allocations: 0 / 485.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1601, allocations: 0 / 485.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.469e-05/0.1602, allocations: 31.97 kB / 485.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1606, allocations: 316.8 kB / 485.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.1607, allocations: 50.56 kB / 485.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.1608, allocations: 16.94 kB / 485.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1608, allocations: 3.938 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1608, allocations: 38.56 kB / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.1608, allocations: 0 / 486 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008919/0.1617, allocations: 276.9 kB / 486.2 MB, free: 500 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1618, allocations: 59.36 kB / 486.3 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.1621, allocations: 230.6 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1621, allocations: 25.7 kB / 486.6 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1622, allocations: 112 kB / 486.7 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1622, allocations: 27.64 kB / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1622, allocations: 0 / 486.7 MB, free: 8 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1624, allocations: 330.8 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.1624, allocations: 27.98 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.1625, allocations: 48.03 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1627, allocations: 35.98 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1627, allocations: 0 / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002299/0.1629, allocations: 117.5 kB / 487.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1629, allocations: 4 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.163, allocations: 4 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.163, allocations: 0 / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1631, allocations: 23.92 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1631, allocations: 3.953 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.1631, allocations: 15.98 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1632, allocations: 0 / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1633, allocations: 129.8 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.1633, allocations: 23.81 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.1636, allocations: 135 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1636, allocations: 3.984 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1636, allocations: 0 / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1637, allocations: 3.953 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.1642, allocations: 431.7 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1642, allocations: 0 / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.1643, allocations: 23.92 kB / 488 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1643, allocations: 8.031 kB / 488 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1643, allocations: 3.953 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1643, allocations: 80 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.1643, allocations: 3.984 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1646, allocations: 228.1 kB / 488.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.986e-05/0.1647, allocations: 89 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.1647, allocations: 4 kB / 488.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1648, allocations: 19.94 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.1648, allocations: 4 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.1648, allocations: 4 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.165, allocations: 176.3 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.165, allocations: 0 / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1653, allocations: 28 kB / 488.6 MB, free: 13.99 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.1663, allocations: 440.3 kB / 489 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1666, allocations: 91.81 kB / 489.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1666, allocations: 0 / 489.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.1667, allocations: 43.97 kB / 489.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1671, allocations: 21.27 kB / 489.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.1676, allocations: 310.1 kB / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.1679, allocations: 0.714 MB / 490.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.751e-05/0.168, allocations: 20.95 kB / 490.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.1681, allocations: 15.42 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1681, allocations: 0 / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004485/0.1726, allocations: 1.294 MB / 491.5 MB, free: 11.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches