Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001518/0.001518, 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.002053/0.002053, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 81.11 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1508, allocations: 62.45 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003653/0.1545, allocations: 1.723 MB / 481.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1562, allocations: 1.025 MB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.1563, allocations: 0 / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.1566, allocations: 35.78 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.157, allocations: 99.53 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1572, allocations: 75.72 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1574, allocations: 103.6 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1575, allocations: 23.97 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.1577, allocations: 43.78 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.1577, allocations: 31.8 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1578, allocations: 4 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1579, allocations: 39.98 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.158, allocations: 27.84 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.158, allocations: 39.73 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1582, allocations: 115.9 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1583, allocations: 0 / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1583, allocations: 3.938 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1583, allocations: 4 kB / 483.4 MB, free: 1.887 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.0005633/0.1589, allocations: 414.9 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1589, allocations: 8.031 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.159, allocations: 8.844 kB / 483.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1592, allocations: 212.8 kB / 484 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1592, allocations: 8.312 kB / 484.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.1592, allocations: 4.125 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1594, allocations: 53.67 kB / 484.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1594, allocations: 4 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1594, allocations: 7.938 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1594, allocations: 4 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.1595, allocations: 15.98 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.16, allocations: 288.8 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1602, allocations: 62.67 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.1602, allocations: 20.8 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.1603, allocations: 0 / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.1605, allocations: 71.38 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1605, allocations: 0 / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005856/0.1611, allocations: 165.2 kB / 484.7 MB, free: 404 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.1612, allocations: 59.41 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1614, allocations: 194.4 kB / 485 MB, free: 128 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1614, allocations: 25.7 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.1615, allocations: 108.1 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1615, allocations: 27.61 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.1616, allocations: 21.72 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1617, allocations: 326.8 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.1618, allocations: 23.98 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.1619, allocations: 37.7 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.162, allocations: 65.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.162, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001919/0.1622, allocations: 101.4 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1622, allocations: 6.531 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1622, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1622, allocations: 7.938 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.1623, allocations: 20.02 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1623, allocations: 0 / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.1624, allocations: 11.94 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1624, allocations: 4 kB / 485.8 MB, free: 15.31 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.434e-05/0.1625, allocations: 121.8 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.1626, allocations: 7.906 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.092e-05/0.1626, allocations: 17.41 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1626, allocations: 7.875 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1626, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1626, allocations: 7.922 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.1631, allocations: 395.3 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1631, allocations: 4.312 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.391e-05/0.1632, allocations: 8 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.1632, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1632, allocations: 11.92 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1632, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1632, allocations: 4.031 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.1634, allocations: 204.3 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.1635, allocations: 88.92 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.1635, allocations: 3.938 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.1636, allocations: 7.984 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.1636, allocations: 7.938 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1637, allocations: 12 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1638, allocations: 148.2 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1638, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1641, allocations: 20 kB / 486.8 MB, free: 14.14 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 (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.0009987/0.1651, allocations: 468.3 kB / 487.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1653, allocations: 59.91 kB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1653, allocations: 0 / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.49e-05/0.1654, allocations: 27.98 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.1657, allocations: 31.91 kB / 487.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.1662, allocations: 227.1 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1665, allocations: 0.708 MB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.1666, allocations: 16.88 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.1667, allocations: 15.44 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1667, allocations: 0 / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of Templates: time 0.005169/0.1719, allocations: 1.739 MB / 490.1 MB, free: 10.98 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches