Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001608/0.001608, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002117/0.002117, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.126/2.126, allocations: 227.4 MB / 246.9 MB, free: 8.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3951/0.3951, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 80.67 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1574, allocations: 62.44 MB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004421/0.1619, allocations: 1.978 MB / 481.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.1644, allocations: 1.119 MB / 483 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.1646, allocations: 4 kB / 483 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.1652, allocations: 243.5 kB / 483.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006046/0.1659, allocations: 207.4 kB / 483.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003802/0.1663, allocations: 99.78 kB / 483.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.1668, allocations: 259.3 kB / 483.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1669, allocations: 33.66 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.1672, allocations: 123.5 kB / 484 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.1675, allocations: 187.4 kB / 484.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.1675, allocations: 8 kB / 484.2 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.1677, allocations: 59.97 kB / 484.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1679, allocations: 59.77 kB / 484.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.168, allocations: 99.16 kB / 484.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.1683, allocations: 188 kB / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1683, allocations: 0 / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1683, allocations: 0 / 484.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1684, allocations: 0 / 484.6 MB, free: 1.023 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009507/0.1693, allocations: 0.5875 MB / 485.2 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.1694, allocations: 8.031 kB / 485.2 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.967e-05/0.1695, allocations: 32.56 kB / 485.2 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005143/0.17, allocations: 294.4 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.17, allocations: 8.375 kB / 485.5 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.1701, allocations: 8.125 kB / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.1705, allocations: 107.4 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.1706, allocations: 7.844 kB / 485.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.1706, allocations: 12 kB / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1706, allocations: 0 / 485.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002201/0.1708, allocations: 43.95 kB / 485.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.1717, allocations: 492.6 kB / 486.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.1723, allocations: 121.2 kB / 486.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1724, allocations: 53.75 kB / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1725, allocations: 0 / 486.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/0.1729, allocations: 121.1 kB / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.1729, allocations: 0 / 486.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001937/0.1749, allocations: 0.5005 MB / 486.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.175, allocations: 85.05 kB / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000675/0.1756, allocations: 0.4899 MB / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1757, allocations: 33.7 kB / 487.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1759, allocations: 168.5 kB / 487.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.949e-05/0.176, allocations: 78.92 kB / 487.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.753e-05/0.1761, allocations: 41.7 kB / 487.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1763, allocations: 350.8 kB / 488.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.1764, allocations: 51.98 kB / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1767, allocations: 95.39 kB / 488.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/0.1771, allocations: 159.5 kB / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1771, allocations: 0 / 488.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000589/0.1777, allocations: 233.1 kB / 488.7 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.1777, allocations: 12 kB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1777, allocations: 4 kB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1778, allocations: 4 kB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.178, allocations: 43.91 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.178, allocations: 4 kB / 488.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1782, allocations: 15.89 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.1782, allocations: 8 kB / 488.8 MB, free: 12.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000231/0.1785, allocations: 174.3 kB / 489 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.1785, allocations: 35.56 kB / 489 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1787, allocations: 46.89 kB / 489 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1787, allocations: 7.984 kB / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1787, allocations: 0 / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1787, allocations: 0 / 489.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.18, allocations: 0.7427 MB / 489.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.18, allocations: 8 kB / 489.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1801, allocations: 31.92 kB / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1801, allocations: 0 / 489.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.1802, allocations: 8 kB / 489.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.791e-05/0.1802, allocations: 7.984 kB / 489.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1802, allocations: 0 / 489.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.1809, allocations: 428.7 kB / 490.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.181, allocations: 104.7 kB / 490.4 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.1811, allocations: 8 kB / 490.4 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.1814, allocations: 12 kB / 490.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.1814, allocations: 23.91 kB / 490.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.1815, allocations: 12 kB / 490.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005132/0.182, allocations: 375.1 kB / 490.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.182, allocations: 0 / 490.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005781/0.1826, allocations: 51.98 kB / 490.8 MB, free: 10.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00178/0.1844, allocations: 0.5015 MB / 491.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.1849, allocations: 159.8 kB / 491.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1849, allocations: 0 / 491.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.1852, allocations: 83.83 kB / 491.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.186, allocations: 65.83 kB / 491.6 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1875, allocations: 0.7035 MB / 492.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/0.188, allocations: 0.7872 MB / 493.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.1881, allocations: 31.42 kB / 493.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1881, allocations: 0 / 493.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of Templates: time 0.009927/0.198, allocations: 3.863 MB / 497 MB, free: 4.273 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches