Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 93.62 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 202.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.8 MB / 246.9 MB, free: 9.723 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.225/0.225, allocations: 46.2 MB / 345.3 MB, free: 11.12 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004421, allocations: 12 kB / 419.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 63.56 MB / 483.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003423/0.1622, allocations: 1.442 MB / 484.6 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002998/0.1652, allocations: 1.581 MB / 486.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.1653, allocations: 4 kB / 486.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.1656, allocations: 35.83 kB / 486.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.166, allocations: 79.75 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1663, allocations: 59.88 kB / 486.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.1665, allocations: 107.6 kB / 486.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1667, allocations: 8 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.1668, allocations: 39.78 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.167, allocations: 47.77 kB / 486.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.708e-05/0.1671, allocations: 4 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.1674, allocations: 99.88 kB / 486.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.627e-05/0.1675, allocations: 11.92 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1676, allocations: 61.5 kB / 486.7 MB, free: 480 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.1682, allocations: 171.8 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1682, allocations: 0 / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.1682, allocations: 0 / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1682, allocations: 0 / 486.9 MB, free: 308 kB / 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.001012/0.1692, allocations: 411.2 kB / 487.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/0.1693, allocations: 8.875 kB / 487.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.1694, allocations: 12.83 kB / 487.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.1699, allocations: 211.7 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.1699, allocations: 3.938 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.17, allocations: 8 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.1702, allocations: 79.33 kB / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1702, allocations: 0 / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1702, allocations: 0 / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1703, allocations: 0 / 487.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.1704, allocations: 19.98 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.1708, allocations: 288.9 kB / 487.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.171, allocations: 58.62 kB / 488 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.1711, allocations: 20.84 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1711, allocations: 0 / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.1713, allocations: 67.39 kB / 488.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1714, allocations: 4 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006238/0.172, allocations: 177.1 kB / 488.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.1721, allocations: 84.98 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.1723, allocations: 165.9 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.1723, allocations: 29.7 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1724, allocations: 100.1 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.1724, allocations: 23.66 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.1725, allocations: 9.719 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1726, allocations: 330.8 kB / 489 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.1727, allocations: 23.92 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.1728, allocations: 38.56 kB / 489 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.1729, allocations: 61.7 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1729, allocations: 0 / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.1732, allocations: 105.6 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1732, allocations: 4 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1732, allocations: 4.078 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1732, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.966e-05/0.1733, allocations: 19.98 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1734, allocations: 7.922 kB / 489.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.648e-05/0.1734, allocations: 4 kB / 489.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1734, allocations: 4 kB / 489.2 MB, free: 13.72 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 0.0001332/0.1736, allocations: 129.8 kB / 489.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.1736, allocations: 19.8 kB / 489.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.1737, allocations: 12.72 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1737, allocations: 0 / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.1737, allocations: 3.938 kB / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1737, allocations: 0 / 489.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.1742, allocations: 391.3 kB / 489.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1742, allocations: 4.375 kB / 489.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.1743, allocations: 11.97 kB / 489.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1743, allocations: 8 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1743, allocations: 0 / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1743, allocations: 0 / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1743, allocations: 4 kB / 489.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.1746, allocations: 204.2 kB / 490 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.1747, allocations: 92.94 kB / 490.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1747, allocations: 8 kB / 490.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.1748, allocations: 7.984 kB / 490.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.1749, allocations: 192 / 490.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1749, allocations: 8 kB / 490.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.175, allocations: 127.2 kB / 490.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.175, allocations: 0 / 490.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1754, allocations: 47.98 kB / 490.3 MB, free: 12.55 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.002102/0.1775, allocations: 0.5388 MB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.1777, allocations: 63.91 kB / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1777, allocations: 0 / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.1778, allocations: 31.92 kB / 490.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1782, allocations: 28.05 kB / 491 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005019/0.1787, allocations: 233.9 kB / 491.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1791, allocations: 0.6965 MB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.537e-05/0.1792, allocations: 21.17 kB / 491.9 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.1792, allocations: 19.42 kB / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1793, allocations: 0 / 491.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of Templates: time 0.006488/0.1857, allocations: 2.287 MB / 494.2 MB, free: 8.777 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches