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.001384/0.001385, allocations: 108.7 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.11 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 82.56 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.151, allocations: 62.44 MB / 479.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003523/0.1546, allocations: 1.676 MB / 481 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1558, allocations: 0.5495 MB / 481.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.1559, allocations: 0 / 481.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1562, allocations: 87.75 kB / 481.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1565, allocations: 103.8 kB / 481.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.1568, allocations: 91.83 kB / 481.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.157, allocations: 87.75 kB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1571, allocations: 19.98 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.016e-05/0.1572, allocations: 31.91 kB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1573, allocations: 55.81 kB / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1573, allocations: 0 / 482 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.1574, allocations: 47.92 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.1575, allocations: 23.86 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.85e-05/0.1576, allocations: 31.73 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1577, allocations: 99.7 kB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1578, allocations: 0 / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1578, allocations: 0 / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1578, allocations: 4 kB / 482.2 MB, free: 2.836 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.0005544/0.1583, allocations: 431.1 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.1584, allocations: 8.875 kB / 482.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1584, allocations: 16.75 kB / 482.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1587, allocations: 204.6 kB / 482.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1587, allocations: 4.375 kB / 482.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1587, allocations: 8.359 kB / 482.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1589, allocations: 57.8 kB / 482.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1589, allocations: 4 kB / 482.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1589, allocations: 4 kB / 482.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.1589, allocations: 0 / 482.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.825e-05/0.1591, allocations: 27.97 kB / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1595, allocations: 308.7 kB / 483.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1596, allocations: 46.55 kB / 483.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.145e-05/0.1597, allocations: 16.86 kB / 483.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1597, allocations: 4.094 kB / 483.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1597, allocations: 38.55 kB / 483.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1597, allocations: 0 / 483.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009492/0.1607, allocations: 241 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1607, allocations: 59.34 kB / 483.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.161, allocations: 230.6 kB / 483.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.161, allocations: 25.7 kB / 483.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.1611, allocations: 112.1 kB / 484 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.1611, allocations: 35.56 kB / 484 MB, free: 0.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.1612, allocations: 25.7 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1613, allocations: 322.8 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.1614, allocations: 35.92 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.1615, allocations: 31.97 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1617, allocations: 68.83 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1617, allocations: 0 / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002325/0.1619, allocations: 121.7 kB / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.162, allocations: 6.656 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.162, allocations: 0 / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.162, allocations: 4 kB / 484.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1621, allocations: 15.98 kB / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.1621, allocations: 0 / 484.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.1622, allocations: 11.94 kB / 484.7 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1622, allocations: 4 kB / 484.7 MB, free: 140 kB / 350.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 9.575e-05/0.1623, allocations: 129.8 kB / 484.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.1623, allocations: 15.98 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.1627, allocations: 135 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1627, allocations: 0 / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1627, allocations: 4 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1627, allocations: 3.938 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.1632, allocations: 423.2 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1633, allocations: 0 / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.1633, allocations: 19.98 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1633, allocations: 4.359 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1634, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1634, allocations: 4 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1634, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1637, allocations: 220.2 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.1637, allocations: 96.84 kB / 485.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1638, allocations: 4 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.876e-05/0.1638, allocations: 11.98 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.1639, allocations: 4 kB / 485.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1639, allocations: 8 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1641, allocations: 176.3 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1641, allocations: 3.938 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1643, allocations: 20 kB / 485.9 MB, free: 14.77 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.001081/0.1654, allocations: 445 kB / 486.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1657, allocations: 71.89 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1657, allocations: 0 / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1658, allocations: 48.05 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.1663, allocations: 24.86 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.1669, allocations: 312.8 kB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1673, allocations: 0.7179 MB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.442e-05/0.1674, allocations: 20.64 kB / 487.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1674, allocations: 15.44 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1674, allocations: 4 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Templates: time 0.004295/0.1717, allocations: 1.342 MB / 488.9 MB, free: 11.88 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