Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 104.1 kB / 17.63 MB, free: 5.344 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: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 75.48 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.15, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003763/0.1538, allocations: 1.688 MB / 481.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.1556, allocations: 1.002 MB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1558, allocations: 4 kB / 482.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.1561, allocations: 51.73 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.1566, allocations: 99.61 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1568, allocations: 83.66 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1571, allocations: 95.7 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.664e-05/0.1571, allocations: 16.2 kB / 483.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1572, allocations: 39.8 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1573, allocations: 47.77 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1574, allocations: 0 / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1575, allocations: 35.98 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.1576, allocations: 7.938 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.1576, allocations: 39.72 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1579, allocations: 104 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1579, allocations: 0 / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.688e-06/0.158, allocations: 0 / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.158, allocations: 3.938 kB / 483.3 MB, free: 1.965 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.0008528/0.1588, allocations: 403.1 kB / 483.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.1589, allocations: 8.031 kB / 483.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.159, allocations: 12.78 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1593, allocations: 212 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1594, allocations: 384 / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1594, allocations: 12.12 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.1596, allocations: 49.67 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1596, allocations: 0 / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1596, allocations: 0 / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1597, allocations: 0 / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.1598, allocations: 15.98 kB / 484 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.1601, allocations: 181.7 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1603, allocations: 54.56 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1604, allocations: 24.78 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1605, allocations: 3.938 kB / 484.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.1608, allocations: 63.39 kB / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.104e-06/0.1608, allocations: 0 / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003625/0.1612, allocations: 97.7 kB / 484.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1612, allocations: 55.41 kB / 484.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1614, allocations: 187.3 kB / 484.7 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1615, allocations: 29.7 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.1615, allocations: 104.1 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.1616, allocations: 7.812 kB / 484.8 MB, free: 276 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1616, allocations: 21.72 kB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1618, allocations: 326.8 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.1618, allocations: 20.05 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.1619, allocations: 25.72 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/0.162, allocations: 45.64 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.162, allocations: 0 / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001668/0.1622, allocations: 81.53 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1622, allocations: 4 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.1622, allocations: 3.984 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1622, allocations: 11.97 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.1623, allocations: 8 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1623, allocations: 0 / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.1624, allocations: 4 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1624, allocations: 4 kB / 485.4 MB, free: 15.69 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.0001016/0.1625, allocations: 125.8 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.1626, allocations: 11.81 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.1626, allocations: 13 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1626, allocations: 4 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.1626, allocations: 7.984 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1626, allocations: 0 / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1628, allocations: 185.6 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1628, allocations: 4 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.1628, allocations: 0 / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1628, allocations: 7.984 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1628, allocations: 0 / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1629, allocations: 3.984 kB / 485.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1629, allocations: 3.938 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1631, allocations: 109 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.1631, allocations: 89 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.1632, allocations: 4 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.52e-05/0.1632, allocations: 4 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.1633, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1633, allocations: 7.984 kB / 485.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1634, allocations: 135.9 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 3.938 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1637, allocations: 24 kB / 486.1 MB, free: 14.87 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.0009718/0.1646, allocations: 391.9 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.1648, allocations: 55.91 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1649, allocations: 0 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.525e-05/0.1649, allocations: 16 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1652, allocations: 38.8 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.1657, allocations: 202 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.1661, allocations: 0.701 MB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.898e-05/0.1662, allocations: 12.56 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1662, allocations: 15.42 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1662, allocations: 0 / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of Templates: time 0.004671/0.1709, allocations: 1.494 MB / 489 MB, free: 12.05 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches