Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 93.73 kB / 17 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 198 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.19 MB / 344.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 15.98 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1577, allocations: 63.56 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002229/0.16, allocations: 1.423 MB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1615, allocations: 0.9323 MB / 484.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.1616, allocations: 4 kB / 484.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1619, allocations: 31.89 kB / 484.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.1622, allocations: 75.69 kB / 484.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.1624, allocations: 51.88 kB / 484.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1626, allocations: 99.69 kB / 485 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1627, allocations: 4 kB / 485 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.1628, allocations: 47.77 kB / 485.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.1629, allocations: 23.86 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1629, allocations: 4 kB / 485.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.163, allocations: 39.92 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.922e-05/0.163, allocations: 19.91 kB / 485.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.1631, allocations: 33.7 kB / 485.2 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1633, allocations: 92.05 kB / 485.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1633, allocations: 3.938 kB / 485.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1633, allocations: 0 / 485.3 MB, free: 1.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.1633, allocations: 0 / 485.3 MB, free: 1.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005961/0.1639, allocations: 398.9 kB / 485.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.164, allocations: 12.03 kB / 485.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.164, allocations: 15.81 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1643, allocations: 202.8 kB / 485.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1643, allocations: 4 kB / 485.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1643, allocations: 4 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1645, allocations: 53.67 kB / 486 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1645, allocations: 0 / 486 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1645, allocations: 3.938 kB / 486 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.1645, allocations: 0 / 486 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.1646, allocations: 27.92 kB / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.165, allocations: 280.9 kB / 486.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1652, allocations: 58.67 kB / 486.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.1653, allocations: 20.86 kB / 486.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.1653, allocations: 3.938 kB / 486.3 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.1655, allocations: 63.39 kB / 486.4 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.1655, allocations: 4 kB / 486.4 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005414/0.166, allocations: 181.2 kB / 486.6 MB, free: 164 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1661, allocations: 51.41 kB / 486.6 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.1663, allocations: 184 kB / 486.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1663, allocations: 29.7 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1664, allocations: 104.1 kB / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1665, allocations: 23.66 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.1665, allocations: 0 / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1666, allocations: 330.8 kB / 487.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.1667, allocations: 15.98 kB / 487.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.1667, allocations: 37.7 kB / 487.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.1668, allocations: 24 kB / 487.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1668, allocations: 3.938 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.167, allocations: 101.5 kB / 487.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.167, allocations: 4 kB / 487.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.167, allocations: 12.02 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.167, allocations: 0 / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.1671, allocations: 16.12 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1671, allocations: 0 / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.1672, allocations: 15.92 kB / 487.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.1672, allocations: 7.953 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001726/0.1674, allocations: 119.7 kB / 487.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.1674, allocations: 7.906 kB / 487.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.1675, allocations: 21.39 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1675, allocations: 4.375 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1675, allocations: 0 / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1675, allocations: 0 / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.168, allocations: 395.2 kB / 488.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.168, allocations: 3.938 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.1681, allocations: 11.98 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1681, allocations: 4 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1681, allocations: 4.031 kB / 488.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1681, allocations: 4 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.1681, allocations: 3.953 kB / 488.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1684, allocations: 200.2 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.1684, allocations: 93 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.1685, allocations: 4 kB / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.1685, allocations: 0 / 488.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.1686, allocations: 19.94 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1686, allocations: 4 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1687, allocations: 138.8 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1687, allocations: 4 kB / 488.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.169, allocations: 23.91 kB / 488.6 MB, free: 14.02 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001163/0.1702, allocations: 459.2 kB / 489 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1704, allocations: 59.97 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1704, allocations: 0 / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.1705, allocations: 23.94 kB / 489.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.1708, allocations: 29.53 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004499/0.1713, allocations: 238.7 kB / 489.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1716, allocations: 0.7043 MB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.1716, allocations: 12.88 kB / 490.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.1717, allocations: 15.44 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1717, allocations: 0 / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Templates: time 0.004916/0.1766, allocations: 1.622 MB / 491.7 MB, free: 10.99 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches