Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00186/0.00186, allocations: 113.7 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 213.8 kB / 18.27 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 227.4 MB / 246.5 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2572/0.2572, allocations: 46.12 MB / 343.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 82.23 kB / 417.1 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1549, allocations: 62.46 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003678/0.1586, allocations: 1.738 MB / 481.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1605, allocations: 0.9939 MB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1606, allocations: 4 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.161, allocations: 59.8 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.1613, allocations: 91.72 kB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.1615, allocations: 59.88 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.1617, allocations: 103.7 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.1618, allocations: 12.23 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.452e-05/0.1619, allocations: 55.7 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.162, allocations: 43.83 kB / 482.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.162, allocations: 4 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.493e-05/0.1621, allocations: 31.98 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.1622, allocations: 19.92 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.1623, allocations: 35.69 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.1625, allocations: 99.92 kB / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1625, allocations: 0 / 482.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1625, allocations: 8 kB / 482.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1625, allocations: 0 / 482.9 MB, free: 2.137 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006376/0.1631, allocations: 410.9 kB / 483.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1632, allocations: 8.031 kB / 483.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.1633, allocations: 12.78 kB / 483.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.1636, allocations: 212.7 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.1636, allocations: 4.375 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1636, allocations: 8.125 kB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1638, allocations: 53.61 kB / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1638, allocations: 0 / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1638, allocations: 0 / 483.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1638, allocations: 4 kB / 483.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.966e-05/0.1639, allocations: 15.98 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.1641, allocations: 177.7 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1643, allocations: 50.61 kB / 483.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.1644, allocations: 24.8 kB / 483.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1644, allocations: 3.938 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002527/0.1647, allocations: 67.39 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1647, allocations: 0 / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003256/0.165, allocations: 101.5 kB / 484.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1651, allocations: 51.41 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1653, allocations: 198.9 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1653, allocations: 29.64 kB / 484.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.1654, allocations: 96.14 kB / 484.4 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1655, allocations: 15.89 kB / 484.5 MB, free: 432 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1655, allocations: 17.72 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.1657, allocations: 322.8 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/0.1658, allocations: 15.98 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.827e-05/0.1658, allocations: 25.72 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1659, allocations: 49.95 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.166, allocations: 0 / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001717/0.1661, allocations: 89.38 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1662, allocations: 10.66 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.1662, allocations: 0 / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1662, allocations: 3.984 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.1663, allocations: 8.031 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1663, allocations: 8 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.1663, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1664, allocations: 4 kB / 485 MB, free: 15.85 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 (7): * Single equations (assignments): 7 * 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.0001202/0.1665, allocations: 132.1 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.1665, allocations: 11.81 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.1666, allocations: 16.94 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1666, allocations: 7.984 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1666, allocations: 0 / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1666, allocations: 4 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.1668, allocations: 193.5 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1668, allocations: 3.938 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.995e-05/0.1668, allocations: 4 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1668, allocations: 0 / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1669, allocations: 3.984 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1669, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1669, allocations: 0 / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1671, allocations: 116.9 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.1672, allocations: 85.02 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1672, allocations: 128 / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.1672, allocations: 8 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.1673, allocations: 7.984 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.1673, allocations: 4 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1674, allocations: 152.7 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1674, allocations: 0 / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.1677, allocations: 12 kB / 485.7 MB, free: 15.01 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0015/0.1692, allocations: 403.3 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1694, allocations: 43.92 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1694, allocations: 0 / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.289e-05/0.1694, allocations: 19.98 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.1697, allocations: 35.55 kB / 486.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.1702, allocations: 226 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.1705, allocations: 0.701 MB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.1706, allocations: 12.53 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.1706, allocations: 23.44 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1706, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of Templates: time 0.004854/0.1755, allocations: 1.487 MB / 488.7 MB, free: 12.16 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches