Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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",fileNamePrefix="ModelicaTest_3.2.3_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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 100.2 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2486/0.2486, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 67.45 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1437, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003848/0.1476, allocations: 1.833 MB / 442.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1491, allocations: 0.8935 MB / 443.3 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1493, allocations: 4 kB / 443.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.1497, allocations: 219.4 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.15, allocations: 171.4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1504, allocations: 155.5 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.1506, allocations: 223.4 kB / 444 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1507, allocations: 17.83 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1509, allocations: 107.6 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.151, allocations: 155.5 kB / 444.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.1511, allocations: 8 kB / 444.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.1512, allocations: 43.98 kB / 444.3 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.141e-05/0.1512, allocations: 51.81 kB / 444.4 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.917e-05/0.1513, allocations: 79.36 kB / 444.5 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.1515, allocations: 219.1 kB / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1516, allocations: 0 / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1516, allocations: 0 / 444.7 MB, free: 2.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1516, allocations: 4 kB / 444.7 MB, free: 2.73 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000612/0.1522, allocations: 0.537 MB / 445.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1522, allocations: 15.89 kB / 445.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.1523, allocations: 28.64 kB / 445.3 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1526, allocations: 276 kB / 445.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1526, allocations: 12.25 kB / 445.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.1526, allocations: 8.125 kB / 445.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.1529, allocations: 103.3 kB / 445.7 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1529, allocations: 4 kB / 445.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1529, allocations: 0 / 445.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1529, allocations: 4 kB / 445.7 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.153, allocations: 43.91 kB / 445.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004065/0.1534, allocations: 441 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.1537, allocations: 117.3 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/0.1538, allocations: 49.7 kB / 446.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1538, allocations: 0 / 446.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.1541, allocations: 116.9 kB / 446.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.1541, allocations: 0 / 446.4 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008068/0.1549, allocations: 372 kB / 446.8 MB, free: 444 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.155, allocations: 88.98 kB / 446.9 MB, free: 336 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.1554, allocations: 424.5 kB / 447.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1554, allocations: 33.7 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1555, allocations: 156.3 kB / 447.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.1556, allocations: 51.3 kB / 447.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.1557, allocations: 37.7 kB / 447.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.1558, allocations: 338.8 kB / 447.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.156, allocations: 47.88 kB / 447.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.1561, allocations: 72.61 kB / 448 MB, free: 15.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1563, allocations: 123.3 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1563, allocations: 0 / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003131/0.1566, allocations: 169.3 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.1566, allocations: 8 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1567, allocations: 4.062 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1567, allocations: 3.984 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1568, allocations: 35.92 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.1569, allocations: 3.938 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.1569, allocations: 8 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.157, allocations: 8 kB / 448.4 MB, free: 14.77 MB / 334.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 (20): * Single equations (assignments): 20 * 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.0001541/0.1571, allocations: 165.7 kB / 448.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.1572, allocations: 27.62 kB / 448.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.146e-05/0.1572, allocations: 42.62 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1573, allocations: 7.984 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1573, allocations: 3.938 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1573, allocations: 3.984 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/0.158, allocations: 0.6174 MB / 449.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.158, allocations: 4 kB / 449.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.1581, allocations: 24.05 kB / 449.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1581, allocations: 7.938 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.1581, allocations: 4 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1581, allocations: 4 kB / 449.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1581, allocations: 4.062 kB / 449.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.1586, allocations: 371.9 kB / 449.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.619e-05/0.1587, allocations: 100.8 kB / 449.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1587, allocations: 8 kB / 449.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.1588, allocations: 4 kB / 449.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.1589, allocations: 15.97 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1589, allocations: 8 kB / 449.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.1592, allocations: 319 kB / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1592, allocations: 4 kB / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1596, allocations: 39.98 kB / 450.1 MB, free: 12.89 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 12 * 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.001185/0.1608, allocations: 470.9 kB / 450.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003153/0.1611, allocations: 119.8 kB / 450.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1611, allocations: 0 / 450.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1612, allocations: 63.89 kB / 450.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.1618, allocations: 59.02 kB / 450.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.1627, allocations: 0.4907 MB / 451.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.163, allocations: 0.7632 MB / 452.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.764e-05/0.1631, allocations: 30.55 kB / 452.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.1632, allocations: 31.38 kB / 452.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1632, allocations: 3.938 kB / 452.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Templates: time 0.007041/0.1702, allocations: 2.723 MB / 454.9 MB, free: 8.191 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches