Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 107.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002377/0.002377, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.4 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.279/0.279, allocations: 46.1 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001663, allocations: 80 kB / 417 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1414, allocations: 62.44 MB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003579/0.145, allocations: 1.795 MB / 481.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1468, allocations: 1.01 MB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1469, allocations: 0 / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.1473, allocations: 35.84 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.1478, allocations: 79.73 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.1482, allocations: 67.88 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003962/0.1487, allocations: 107.6 kB / 482.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1489, allocations: 15.98 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.1491, allocations: 39.8 kB / 482.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1492, allocations: 35.78 kB / 482.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.1493, allocations: 4 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1495, allocations: 43.98 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.1496, allocations: 23.86 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1497, allocations: 39.72 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.1502, allocations: 119.9 kB / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.1502, allocations: 0 / 482.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1502, allocations: 4 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1502, allocations: 0 / 482.9 MB, free: 2.156 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.001023/0.1512, allocations: 410.9 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.794e-05/0.1513, allocations: 8.031 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.1514, allocations: 16.84 kB / 483.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.1518, allocations: 208.7 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1518, allocations: 8.312 kB / 483.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1519, allocations: 8.125 kB / 483.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1521, allocations: 57.67 kB / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1521, allocations: 0 / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1522, allocations: 0 / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1522, allocations: 0 / 483.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1523, allocations: 19.98 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.1529, allocations: 292.8 kB / 483.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1532, allocations: 62.61 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.1533, allocations: 20.84 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1533, allocations: 4 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.1538, allocations: 67.39 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.1538, allocations: 0 / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007918/0.1546, allocations: 169.2 kB / 484.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.1547, allocations: 55.41 kB / 484.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.1549, allocations: 190.9 kB / 484.5 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.155, allocations: 25.7 kB / 484.5 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.1551, allocations: 112.1 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.1551, allocations: 23.66 kB / 484.6 MB, free: 236 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.1552, allocations: 29.64 kB / 484.6 MB, free: 200 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1554, allocations: 326.8 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.406e-05/0.1554, allocations: 20 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.1555, allocations: 33.7 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1557, allocations: 61.69 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1557, allocations: 4 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002486/0.156, allocations: 105.5 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.156, allocations: 8 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.156, allocations: 0 / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.156, allocations: 3.984 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1562, allocations: 12 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.1562, allocations: 7.938 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.1563, allocations: 3.938 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1563, allocations: 8 kB / 485.2 MB, free: 15.59 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.0001211/0.1564, allocations: 125.9 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1564, allocations: 11.91 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.1566, allocations: 17.39 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.1566, allocations: 7.922 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1566, allocations: 384 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1566, allocations: 3.938 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.1572, allocations: 395.2 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1572, allocations: 8.031 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.1573, allocations: 15.98 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1573, allocations: 4 kB / 485.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1573, allocations: 3.938 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1573, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1573, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.1576, allocations: 196.2 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.1577, allocations: 96.92 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1578, allocations: 11.92 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1579, allocations: 0 / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.1579, allocations: 4 kB / 486.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.158, allocations: 11.98 kB / 486.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1582, allocations: 144.8 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1582, allocations: 0 / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.1586, allocations: 28.17 kB / 486.3 MB, free: 14.41 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.00155/0.1601, allocations: 459.9 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.1604, allocations: 67.89 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1604, allocations: 0 / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1605, allocations: 28 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.1611, allocations: 44.08 kB / 486.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.1618, allocations: 255 kB / 487.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006453/0.1624, allocations: 0.7041 MB / 487.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.1625, allocations: 8.891 kB / 487.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.1626, allocations: 23.42 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1626, allocations: 4 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006794/0.1694, allocations: 1.702 MB / 489.6 MB, free: 11.26 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches