Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,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.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,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.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001151/0.001151, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 75.56 kB / 416.9 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1393, allocations: 62.45 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003871/0.1432, allocations: 1.968 MB / 481.3 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1454, allocations: 1.119 MB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.1456, allocations: 4 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.1462, allocations: 251.4 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005054/0.1467, allocations: 211.4 kB / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.1471, allocations: 91.84 kB / 482.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.1475, allocations: 263.3 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1476, allocations: 29.66 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.1479, allocations: 127.4 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.1482, allocations: 179.4 kB / 483.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.1482, allocations: 8 kB / 483.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.1484, allocations: 59.97 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.1486, allocations: 67.75 kB / 483.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.1487, allocations: 91.23 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.1491, allocations: 251.3 kB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1491, allocations: 0 / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1491, allocations: 0 / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.1491, allocations: 0 / 484 MB, free: 1 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.001025/0.1502, allocations: 0.5836 MB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1502, allocations: 8.031 kB / 484.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.1503, allocations: 32.56 kB / 484.6 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.1507, allocations: 298.4 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1508, allocations: 384 / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.1508, allocations: 16.12 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1511, allocations: 107.3 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1511, allocations: 3.906 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1512, allocations: 0 / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1512, allocations: 4 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1513, allocations: 51.89 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.1521, allocations: 484.8 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.1525, allocations: 129.2 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1527, allocations: 37.83 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1527, allocations: 7.984 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003456/0.153, allocations: 120.6 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.1531, allocations: 7.938 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001463/0.1545, allocations: 0.5036 MB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.1546, allocations: 85.09 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.1551, allocations: 493.7 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1552, allocations: 33.69 kB / 487 MB, free: 13.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1553, allocations: 168.5 kB / 487.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.144e-05/0.1554, allocations: 78.98 kB / 487.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.1555, allocations: 49.66 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1556, allocations: 350.7 kB / 487.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.1558, allocations: 55.97 kB / 487.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.156, allocations: 95.33 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.1563, allocations: 159.3 kB / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1563, allocations: 0 / 487.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004416/0.1567, allocations: 229.2 kB / 488.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1568, allocations: 7.938 kB / 488.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1568, allocations: 4 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.1568, allocations: 3.984 kB / 488.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.157, allocations: 51.98 kB / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.157, allocations: 0 / 488.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1571, allocations: 7.906 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.1571, allocations: 17.16 kB / 488.2 MB, free: 12.5 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.0002373/0.1574, allocations: 174.3 kB / 488.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.477e-05/0.1574, allocations: 39.56 kB / 488.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.1575, allocations: 42.89 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1575, allocations: 0 / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1575, allocations: 4 kB / 488.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1576, allocations: 7.984 kB / 488.5 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.1585, allocations: 0.735 MB / 489.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1585, allocations: 128 / 489.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.1586, allocations: 31.98 kB / 489.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.1586, allocations: 11.94 kB / 489.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1587, allocations: 4 kB / 489.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.1587, allocations: 7.938 kB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1587, allocations: 0 / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.1592, allocations: 433.7 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.185e-05/0.1593, allocations: 104.7 kB / 489.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.1593, allocations: 11.98 kB / 489.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.1595, allocations: 4 kB / 489.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.1596, allocations: 27.91 kB / 489.8 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.1596, allocations: 12 kB / 489.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.16, allocations: 371.1 kB / 490.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.16, allocations: 0 / 490.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.1604, allocations: 55.98 kB / 490.3 MB, free: 10.32 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.001297/0.1617, allocations: 0.507 MB / 490.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.1621, allocations: 151.8 kB / 490.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1621, allocations: 4.125 kB / 490.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1623, allocations: 83.84 kB / 491 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.1629, allocations: 72.42 kB / 491.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.164, allocations: 0.6743 MB / 491.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1644, allocations: 0.7794 MB / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001295/0.1646, allocations: 41.91 kB / 492.6 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.1646, allocations: 35.42 kB / 492.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1647, allocations: 0 / 492.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of Templates: time 0.007495/0.1722, allocations: 3.025 MB / 495.6 MB, free: 5.098 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches