Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 108.2 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.001759/0.001759, 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.455/1.455, 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.2309/0.2309, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 79.16 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1402, allocations: 62.43 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00325/0.1435, allocations: 1.808 MB / 481.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1453, allocations: 1.012 MB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.1454, allocations: 3.938 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1457, allocations: 39.89 kB / 482.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.146, allocations: 91.72 kB / 482.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1463, allocations: 67.77 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1465, allocations: 131.7 kB / 482.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1466, allocations: 15.98 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1467, allocations: 63.64 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1469, allocations: 47.83 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1469, allocations: 7.984 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.147, allocations: 59.98 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.1471, allocations: 23.92 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.1471, allocations: 55.66 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1474, allocations: 143.8 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1474, allocations: 0 / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1474, allocations: 3.938 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1474, allocations: 0 / 483 MB, free: 2.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000571/0.148, allocations: 430.9 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.148, allocations: 8.031 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.1481, allocations: 20.69 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.1483, allocations: 224.1 kB / 483.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1484, allocations: 4.375 kB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.1484, allocations: 8.125 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1486, allocations: 73.59 kB / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1486, allocations: 0 / 483.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1486, allocations: 4 kB / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1486, allocations: 0 / 483.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1488, allocations: 43.97 kB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1492, allocations: 332.6 kB / 484.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.1495, allocations: 78.55 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.059e-05/0.1496, allocations: 32.84 kB / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1496, allocations: 4.141 kB / 484.3 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.1498, allocations: 83.41 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.764e-06/0.1499, allocations: 4 kB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008786/0.1507, allocations: 289 kB / 484.7 MB, free: 252 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1508, allocations: 59.34 kB / 484.7 MB, free: 180 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.151, allocations: 199.1 kB / 484.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.151, allocations: 25.7 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.746e-05/0.1511, allocations: 112.3 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.1512, allocations: 43.39 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.1513, allocations: 33.72 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1514, allocations: 326.8 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.1515, allocations: 39.98 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.125e-05/0.1516, allocations: 49.7 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1518, allocations: 93.7 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1518, allocations: 4 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000261/0.1521, allocations: 168.8 kB / 485.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1521, allocations: 7.938 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1521, allocations: 0 / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1522, allocations: 4 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.1523, allocations: 27.92 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.1523, allocations: 3.938 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.1523, allocations: 8 kB / 485.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1523, allocations: 4 kB / 485.8 MB, free: 15 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 (15): * Single equations (assignments): 15 * 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.0001183/0.1525, allocations: 129.9 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1525, allocations: 11.91 kB / 486 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.1526, allocations: 21.53 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1526, allocations: 3.984 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.1526, allocations: 4.781 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1526, allocations: 3.984 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.1532, allocations: 491.9 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1532, allocations: 4 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.1532, allocations: 15.98 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.1533, allocations: 4 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1533, allocations: 7.938 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1533, allocations: 4 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1533, allocations: 0 / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003022/0.1536, allocations: 260.9 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.1537, allocations: 89.02 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1537, allocations: 7.984 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1538, allocations: 0 / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.1538, allocations: 15.98 kB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1538, allocations: 4 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.154, allocations: 148.3 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.154, allocations: 0 / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002923/0.1543, allocations: 35.91 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001231/0.1555, allocations: 0.5109 MB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002558/0.1558, allocations: 103.9 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1558, allocations: 0 / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1559, allocations: 47.92 kB / 487.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1563, allocations: 42.36 kB / 487.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.1569, allocations: 328.5 kB / 488.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1572, allocations: 0.7123 MB / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.911e-05/0.1573, allocations: 29.41 kB / 488.8 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.1574, allocations: 23.42 kB / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1574, allocations: 0 / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.005092/0.1625, allocations: 2.143 MB / 491 MB, free: 9.871 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches