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.001153/0.001153, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2936/0.2936, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 76.75 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1536, allocations: 62.45 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003317/0.157, allocations: 1.606 MB / 482.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1581, allocations: 0.5572 MB / 482.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.376e-05/0.1581, allocations: 0 / 482.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1585, allocations: 87.75 kB / 482.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1588, allocations: 119.6 kB / 483.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.1592, allocations: 107.7 kB / 483.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1593, allocations: 79.88 kB / 483.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1595, allocations: 12 kB / 483.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.14e-05/0.1596, allocations: 47.83 kB / 483.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.1597, allocations: 63.75 kB / 483.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1597, allocations: 0 / 483.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1598, allocations: 47.98 kB / 483.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.1599, allocations: 19.92 kB / 483.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.16, allocations: 31.69 kB / 483.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1602, allocations: 111.7 kB / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1602, allocations: 0 / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1602, allocations: 0 / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.1602, allocations: 0 / 483.6 MB, free: 2.395 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.0005774/0.1608, allocations: 427.1 kB / 484 MB, free: 1.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1608, allocations: 12.02 kB / 484 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.1609, allocations: 20.75 kB / 484 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1611, allocations: 200 kB / 484.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1611, allocations: 384 / 484.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.1611, allocations: 12.31 kB / 484.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.1613, allocations: 49.81 kB / 484.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1613, allocations: 0 / 484.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1613, allocations: 0 / 484.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1613, allocations: 4 kB / 484.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1615, allocations: 35.97 kB / 484.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.1619, allocations: 308.6 kB / 484.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1621, allocations: 46.55 kB / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.1621, allocations: 20.94 kB / 484.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.1622, allocations: 4 kB / 484.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1622, allocations: 34.56 kB / 484.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1622, allocations: 0 / 484.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009839/0.1632, allocations: 244.9 kB / 485 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1632, allocations: 51.41 kB / 485 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.1635, allocations: 231.1 kB / 485.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1635, allocations: 29.7 kB / 485.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.1636, allocations: 108.1 kB / 485.4 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.1637, allocations: 27.62 kB / 485.4 MB, free: 376 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.1637, allocations: 25.7 kB / 485.4 MB, free: 344 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1639, allocations: 322.8 kB / 485.7 MB, free: 12 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.164, allocations: 36.05 kB / 485.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.1641, allocations: 32.06 kB / 485.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.1642, allocations: 72.81 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1643, allocations: 0 / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002327/0.1645, allocations: 113.5 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1645, allocations: 10.44 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1645, allocations: 4 kB / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1646, allocations: 0 / 486 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.1647, allocations: 19.98 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1647, allocations: 0 / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.1648, allocations: 11.92 kB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1648, allocations: 0 / 486 MB, free: 15.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.1649, allocations: 134.9 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1649, allocations: 11.81 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002978/0.1653, allocations: 138.9 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1653, allocations: 0 / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1653, allocations: 3.984 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1653, allocations: 7.938 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.1658, allocations: 419.2 kB / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1658, allocations: 0 / 486.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.268e-05/0.1659, allocations: 23.98 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1659, allocations: 3.938 kB / 486.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1659, allocations: 7.938 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.166, allocations: 4 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.166, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.1662, allocations: 220.6 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.1663, allocations: 96.84 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.1663, allocations: 0 / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.1664, allocations: 4 kB / 487.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1665, allocations: 7.984 kB / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.1665, allocations: 0 / 487.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1666, allocations: 179.2 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1666, allocations: 0 / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1669, allocations: 31.98 kB / 487.3 MB, free: 14.33 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 (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.001105/0.168, allocations: 455.8 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1683, allocations: 79.89 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1683, allocations: 0 / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.559e-05/0.1684, allocations: 43.91 kB / 487.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1688, allocations: 19.92 kB / 487.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.1695, allocations: 312.7 kB / 488.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1699, allocations: 0.7119 MB / 488.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.17, allocations: 19.42 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.17, allocations: 4 kB / 488.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Templates: time 0.004514/0.1745, allocations: 1.857 MB / 490.8 MB, free: 10.94 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches