Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001845/0.001852, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002249/0.00225, allocations: 213.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2433/0.2433, allocations: 46.1 MB / 344.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 76.56 kB / 417.8 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 62.46 MB / 480.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003809/0.1465, allocations: 1.96 MB / 482.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1486, allocations: 1.119 MB / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1487, allocations: 0 / 483.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.1493, allocations: 219.5 kB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.1499, allocations: 191.5 kB / 483.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.1503, allocations: 103.8 kB / 483.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.1508, allocations: 255.3 kB / 484.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.151, allocations: 33.66 kB / 484.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1512, allocations: 123.5 kB / 484.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.1514, allocations: 159.5 kB / 484.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.1515, allocations: 8 kB / 484.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.1516, allocations: 63.97 kB / 484.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.1518, allocations: 63.7 kB / 484.5 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.1519, allocations: 95.34 kB / 484.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1522, allocations: 183.9 kB / 484.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1522, allocations: 0 / 484.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1522, allocations: 0 / 484.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1522, allocations: 0 / 484.8 MB, free: 0.9805 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.0008706/0.1531, allocations: 0.5603 MB / 485.3 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1531, allocations: 16.03 kB / 485.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.1532, allocations: 28.56 kB / 485.4 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1536, allocations: 284 kB / 485.7 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1536, allocations: 8.312 kB / 485.7 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.1537, allocations: 8.391 kB / 485.7 MB, free: 16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.154, allocations: 121.7 kB / 485.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.154, allocations: 0 / 485.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.154, allocations: 4 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.154, allocations: 4 kB / 485.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.1542, allocations: 51.95 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.1549, allocations: 476.7 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.1554, allocations: 125.2 kB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.1555, allocations: 45.83 kB / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.1555, allocations: 0 / 486.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.1559, allocations: 117.1 kB / 486.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.446e-06/0.1559, allocations: 0 / 486.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001425/0.1573, allocations: 0.5045 MB / 487.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.1574, allocations: 81.11 kB / 487.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005157/0.1579, allocations: 444.5 kB / 487.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.158, allocations: 33.7 kB / 487.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1581, allocations: 164.5 kB / 487.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.232e-05/0.1582, allocations: 67 kB / 487.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-05/0.1583, allocations: 45.7 kB / 487.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1584, allocations: 342.8 kB / 488.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1586, allocations: 55.97 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.1587, allocations: 87.41 kB / 488.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.1591, allocations: 167.5 kB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1591, allocations: 3.938 kB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004247/0.1595, allocations: 229.1 kB / 488.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1595, allocations: 7.938 kB / 488.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1595, allocations: 4 kB / 488.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1596, allocations: 8.047 kB / 488.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.1597, allocations: 47.91 kB / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1598, allocations: 0 / 488.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.474e-05/0.1598, allocations: 8 kB / 488.9 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1599, allocations: 15.98 kB / 488.9 MB, free: 12.59 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.0001876/0.1601, allocations: 170.3 kB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.1602, allocations: 43.45 kB / 489.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.231e-05/0.1602, allocations: 38.81 kB / 489.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1603, allocations: 8 kB / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1603, allocations: 0 / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1603, allocations: 0 / 489.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.1613, allocations: 0.735 MB / 489.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1613, allocations: 4 kB / 489.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.401e-05/0.1614, allocations: 35.92 kB / 489.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1614, allocations: 0 / 489.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.1615, allocations: 4 kB / 489.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.1615, allocations: 7.984 kB / 489.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1615, allocations: 0 / 489.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.162, allocations: 429.7 kB / 490.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.1621, allocations: 104.7 kB / 490.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1622, allocations: 8 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1623, allocations: 4 kB / 490.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.1624, allocations: 31.84 kB / 490.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.1625, allocations: 12 kB / 490.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.1628, allocations: 331 kB / 490.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1628, allocations: 4 kB / 490.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.1632, allocations: 51.98 kB / 490.9 MB, free: 10.47 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.002004/0.1652, allocations: 0.505 MB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004387/0.1657, allocations: 171.9 kB / 491.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1657, allocations: 0 / 491.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.1659, allocations: 79.84 kB / 491.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.1665, allocations: 66.3 kB / 491.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1676, allocations: 0.6665 MB / 492.4 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/0.1681, allocations: 0.7753 MB / 493.1 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.1682, allocations: 35.42 kB / 493.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 2.775e-06/0.1682, allocations: 0 / 493.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of Templates: time 0.007602/0.1758, allocations: 3.755 MB / 496.9 MB, free: 4.547 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:d2_t_new.y,d2_t_new_2.y,d_t_new.y,d_t_new_2.y,t_new.y[1],t_new_2.y[1],time