Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001376/0.001376, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.8 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.2209/0.2209, allocations: 46.11 MB / 344.2 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 76.52 kB / 417.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1549, allocations: 62.46 MB / 480.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003107/0.1581, allocations: 1.583 MB / 481.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1591, allocations: 0.53 MB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.1592, allocations: 0 / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1594, allocations: 35.72 kB / 482.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1597, allocations: 75.69 kB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.16, allocations: 91.08 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1602, allocations: 67.83 kB / 482.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1603, allocations: 11.98 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.716e-05/0.1604, allocations: 23.86 kB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.504e-05/0.1604, allocations: 23.86 kB / 482.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1605, allocations: 8 kB / 482.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.1606, allocations: 31.98 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.169e-05/0.1606, allocations: 11.98 kB / 482.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.1607, allocations: 23.8 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.1608, allocations: 79.73 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1608, allocations: 0 / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1609, allocations: 0 / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1609, allocations: 0 / 482.7 MB, free: 2.641 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006146/0.1615, allocations: 387.4 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1615, allocations: 12.03 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/0.1616, allocations: 8.844 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1619, allocations: 188.2 kB / 483.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1619, allocations: 4.375 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.1619, allocations: 384 / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1621, allocations: 53.8 kB / 483.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1621, allocations: 7.844 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1621, allocations: 0 / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1621, allocations: 3.938 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.1622, allocations: 23.98 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.1626, allocations: 272.9 kB / 483.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1629, allocations: 42.56 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.1629, allocations: 20.88 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.163, allocations: 0 / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.163, allocations: 34.56 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.163, allocations: 0 / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005783/0.1636, allocations: 145.2 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1637, allocations: 55.41 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1638, allocations: 149.1 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1638, allocations: 33.7 kB / 484.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.1639, allocations: 92.14 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1639, allocations: 15.8 kB / 484.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.164, allocations: 17.72 kB / 484.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1641, allocations: 322.8 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.1642, allocations: 19.98 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.1643, allocations: 19.98 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.1644, allocations: 44.83 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1644, allocations: 0 / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.1646, allocations: 85.45 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1646, allocations: 4 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1646, allocations: 4.25 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.1647, allocations: 0 / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.1647, allocations: 19.98 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1647, allocations: 4 kB / 484.8 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.1648, allocations: 4 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1648, allocations: 0 / 484.8 MB, free: 376 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 (5): * Single equations (assignments): 5 * 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.196e-05/0.1649, allocations: 125.8 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.1649, allocations: 7.906 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.1652, allocations: 89.84 kB / 485 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1652, allocations: 4 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1652, allocations: 4 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1652, allocations: 0 / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1657, allocations: 350.5 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1657, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.54e-05/0.1657, allocations: 11.94 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.1657, allocations: 8.266 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1658, allocations: 0 / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1658, allocations: 3.938 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1658, allocations: 7.938 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.166, allocations: 171.4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1661, allocations: 85.09 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1661, allocations: 7.984 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.1662, allocations: 7.938 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.1662, allocations: 0 / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1662, allocations: 4.188 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.1663, allocations: 121.7 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1663, allocations: 0 / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1666, allocations: 12 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001462/0.168, allocations: 408.7 kB / 486.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.1682, allocations: 47.95 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1683, allocations: 4 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.562e-05/0.1683, allocations: 23.98 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1687, allocations: 15.36 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1692, allocations: 186 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1695, allocations: 0.6924 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.1696, allocations: 11.98 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.1696, allocations: 11.44 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1696, allocations: 0 / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of Templates: time 0.00421/0.1738, allocations: 1.123 MB / 488.3 MB, free: 12.83 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches