Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 101.1 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 213.7 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.3 MB, free: 9.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2556/0.2556, allocations: 46.1 MB / 343.6 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 76.91 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1375, allocations: 62.45 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003839/0.1414, allocations: 1.968 MB / 481.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1436, allocations: 1.126 MB / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.1438, allocations: 0 / 482.4 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.1442, allocations: 155.6 kB / 482.5 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004701/0.1448, allocations: 159.5 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1451, allocations: 99.78 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003359/0.1455, allocations: 231.3 kB / 483 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1456, allocations: 33.64 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1458, allocations: 107.5 kB / 483.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.146, allocations: 127.5 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1461, allocations: 8 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.1462, allocations: 55.97 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.726e-05/0.1463, allocations: 47.83 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.1464, allocations: 91.28 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.1467, allocations: 215.5 kB / 483.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1467, allocations: 4 kB / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1467, allocations: 0 / 483.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1468, allocations: 0 / 483.7 MB, free: 1.312 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.0007595/0.1475, allocations: 0.5372 MB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1476, allocations: 8.031 kB / 484.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.1476, allocations: 24.66 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.148, allocations: 279.4 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.148, allocations: 8.375 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.148, allocations: 8.125 kB / 484.6 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.1484, allocations: 115.3 kB / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1484, allocations: 7.938 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1484, allocations: 0 / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1484, allocations: 4 kB / 484.7 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1486, allocations: 47.95 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.1491, allocations: 468.6 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.1495, allocations: 125.2 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1496, allocations: 49.75 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1497, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002621/0.1499, allocations: 113.1 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.15, allocations: 0 / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001481/0.1514, allocations: 0.4931 MB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.1515, allocations: 84.98 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004383/0.152, allocations: 375.3 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.152, allocations: 33.64 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1522, allocations: 148.5 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.1523, allocations: 67.09 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.1524, allocations: 45.7 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.1525, allocations: 342.8 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1527, allocations: 55.98 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.1528, allocations: 95.39 kB / 487.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1531, allocations: 147.4 kB / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1532, allocations: 0 / 487.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004537/0.1536, allocations: 241.3 kB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1536, allocations: 12 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1537, allocations: 4 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1537, allocations: 0 / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.1539, allocations: 39.98 kB / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1539, allocations: 0 / 487.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.154, allocations: 15.92 kB / 487.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.154, allocations: 15.94 kB / 487.6 MB, free: 13.07 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.0001768/0.1542, allocations: 154.3 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.1542, allocations: 43.48 kB / 487.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.1543, allocations: 37.83 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.1543, allocations: 4 kB / 487.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.1544, allocations: 0 / 487.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1544, allocations: 0 / 487.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009714/0.1553, allocations: 0.7233 MB / 488.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1554, allocations: 4 kB / 488.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.1554, allocations: 27.92 kB / 488.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1555, allocations: 4 kB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.1555, allocations: 11.98 kB / 488.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1555, allocations: 4 kB / 488.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1555, allocations: 0 / 488.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.156, allocations: 429.9 kB / 489.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.1561, allocations: 96.83 kB / 489.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.1562, allocations: 8 kB / 489.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1563, allocations: 11.98 kB / 489.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.1564, allocations: 23.92 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.1565, allocations: 8 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002954/0.1568, allocations: 277.9 kB / 489.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1568, allocations: 0 / 489.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004012/0.1572, allocations: 48 kB / 489.5 MB, free: 11.06 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.001539/0.1587, allocations: 0.5107 MB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003969/0.1591, allocations: 155.8 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1592, allocations: 0 / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.1593, allocations: 83.97 kB / 490.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.1599, allocations: 59.53 kB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009902/0.1609, allocations: 0.5728 MB / 490.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.1614, allocations: 0.7638 MB / 491.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1616, allocations: 41.91 kB / 491.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.1616, allocations: 31.42 kB / 491.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1617, allocations: 0 / 491.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of Templates: time 0.007397/0.1691, allocations: 2.98 MB / 494.7 MB, free: 6.004 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches