Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001374/0.001374, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 72.45 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1526, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004286/0.157, allocations: 1.735 MB / 483.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1591, allocations: 1.017 MB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1593, allocations: 4 kB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.1597, allocations: 43.77 kB / 484.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.16, allocations: 95.53 kB / 484.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1603, allocations: 75.73 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.1605, allocations: 107.6 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1606, allocations: 16 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.653e-05/0.1607, allocations: 39.78 kB / 484.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.1608, allocations: 35.78 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1608, allocations: 4 kB / 484.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1609, allocations: 47.92 kB / 484.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.161, allocations: 19.92 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.54e-05/0.161, allocations: 35.73 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1613, allocations: 127.5 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1613, allocations: 0 / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1613, allocations: 4 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.1613, allocations: 0 / 484.8 MB, free: 1.105 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.0005441/0.1619, allocations: 422.9 kB / 485.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1619, allocations: 12.03 kB / 485.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.162, allocations: 8.844 kB / 485.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1623, allocations: 224 kB / 485.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.1624, allocations: 4.375 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.1624, allocations: 4.125 kB / 485.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1626, allocations: 61.61 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1626, allocations: 0 / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1626, allocations: 4 kB / 485.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1626, allocations: 4 kB / 485.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.1627, allocations: 15.98 kB / 485.6 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1631, allocations: 284.9 kB / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.1633, allocations: 66.61 kB / 485.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.1634, allocations: 20.84 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1634, allocations: 0 / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.1637, allocations: 67.39 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1637, allocations: 0 / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.1643, allocations: 181 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1643, allocations: 55.41 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.1646, allocations: 202.4 kB / 486.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.1647, allocations: 25.7 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.1648, allocations: 104.1 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.1648, allocations: 27.64 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.1649, allocations: 21.72 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.1651, allocations: 330.8 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.1651, allocations: 19.98 kB / 487 MB, free: 14.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.827e-05/0.1652, allocations: 45.62 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1653, allocations: 57.72 kB / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1654, allocations: 0 / 487.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002629/0.1656, allocations: 101.6 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1656, allocations: 8 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1657, allocations: 3.938 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1657, allocations: 4.031 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.1658, allocations: 15.98 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1658, allocations: 4.156 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.1658, allocations: 7.938 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1659, allocations: 7.984 kB / 487.2 MB, free: 14.5 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.0001151/0.166, allocations: 135.5 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.166, allocations: 11.91 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.783e-05/0.1661, allocations: 13.41 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1661, allocations: 4 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1661, allocations: 4 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1661, allocations: 3.938 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.1666, allocations: 399.6 kB / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1666, allocations: 0 / 487.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.1666, allocations: 12 kB / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1666, allocations: 0 / 487.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1666, allocations: 11.92 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1666, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1667, allocations: 4.031 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.167, allocations: 196.3 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.167, allocations: 88.92 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1671, allocations: 7.875 kB / 488.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.1671, allocations: 8 kB / 488.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1672, allocations: 7.984 kB / 488.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.1672, allocations: 11.94 kB / 488.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1673, allocations: 156.8 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1673, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.1676, allocations: 27.98 kB / 488.3 MB, free: 13.31 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.001037/0.1687, allocations: 454.1 kB / 488.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.1689, allocations: 63.89 kB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1689, allocations: 0 / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.169, allocations: 24 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.1693, allocations: 33.64 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.1699, allocations: 243 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1703, allocations: 0.7083 MB / 489.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.259e-05/0.1703, allocations: 16.86 kB / 489.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.1704, allocations: 15.44 kB / 489.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of SimCode: time 1.643e-06/0.1704, allocations: 0 / 489.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Templates: time 0.005359/0.1757, allocations: 1.737 MB / 491.6 MB, free: 10.15 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches