Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009938/0.0009944, allocations: 185.4 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.4 MB / 223.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4426/0.4426, allocations: 43.58 MB / 315 MB, free: 9.051 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.000906/0.0009062, allocations: 16 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1488, allocations: 58.87 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002427/0.1512, allocations: 1.414 MB / 444.9 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1525, allocations: 0.7769 MB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.1526, allocations: 0 / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.1529, allocations: 39.83 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.153, allocations: 51.83 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1532, allocations: 75.84 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1534, allocations: 91.69 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.271e-05/0.1535, allocations: 12.22 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.441e-05/0.1536, allocations: 35.8 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.82e-05/0.1536, allocations: 31.83 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1537, allocations: 4 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.1538, allocations: 35.98 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.1538, allocations: 27.86 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.1539, allocations: 53.45 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1541, allocations: 115.9 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1541, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1541, allocations: 3.938 kB / 446.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.1541, allocations: 0 / 446.2 MB, free: 10.12 MB / 382.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.0005194/0.1546, allocations: 399 kB / 446.6 MB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.1547, allocations: 12.03 kB / 446.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1547, allocations: 8.844 kB / 446.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.155, allocations: 224.6 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.155, allocations: 384 / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.155, allocations: 8.125 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1552, allocations: 53.67 kB / 446.9 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1552, allocations: 3.984 kB / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1552, allocations: 0 / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1552, allocations: 0 / 446.9 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.878e-05/0.1553, allocations: 19.98 kB / 446.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.1556, allocations: 288.9 kB / 447.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1558, allocations: 58.61 kB / 447.3 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.1558, allocations: 20.84 kB / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.1559, allocations: 4 kB / 447.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.156, allocations: 71.39 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.156, allocations: 0 / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004842/0.1565, allocations: 181.1 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.1566, allocations: 51.41 kB / 447.6 MB, free: 8.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1567, allocations: 195.3 kB / 447.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1568, allocations: 29.7 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.1568, allocations: 100.1 kB / 447.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.1569, allocations: 19.72 kB / 447.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.1569, allocations: 25.66 kB / 447.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.157, allocations: 326.8 kB / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.369e-05/0.1571, allocations: 23.98 kB / 448.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.778e-05/0.1571, allocations: 33.7 kB / 448.3 MB, free: 7.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.1573, allocations: 53.7 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1573, allocations: 3.938 kB / 448.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001807/0.1575, allocations: 109.4 kB / 448.5 MB, free: 7.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1575, allocations: 4 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1575, allocations: 0 / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1575, allocations: 4 kB / 448.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.1576, allocations: 15.98 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1576, allocations: 4.125 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.1577, allocations: 7.938 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1577, allocations: 7.938 kB / 448.5 MB, free: 7.562 MB / 382.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 9.443e-05/0.1578, allocations: 133.8 kB / 448.7 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.1578, allocations: 7.906 kB / 448.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1579, allocations: 21.39 kB / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1579, allocations: 0 / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1579, allocations: 0 / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1579, allocations: 3.938 kB / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1583, allocations: 395.2 kB / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1583, allocations: 0 / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.1584, allocations: 12.03 kB / 449.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1584, allocations: 0 / 449.1 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1584, allocations: 11.92 kB / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1584, allocations: 240 / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1584, allocations: 0 / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1586, allocations: 208.2 kB / 449.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.1587, allocations: 92.92 kB / 449.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1587, allocations: 15.92 kB / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.1588, allocations: 0 / 449.4 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.1588, allocations: 4 kB / 449.4 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1588, allocations: 7.984 kB / 449.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1589, allocations: 152.9 kB / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1589, allocations: 0 / 449.6 MB, free: 6.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.1592, allocations: 27.98 kB / 449.6 MB, free: 6.383 MB / 382.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.0009957/0.1602, allocations: 480.8 kB / 450.1 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001547/0.1603, allocations: 55.91 kB / 450.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1604, allocations: 0 / 450.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.618e-05/0.1604, allocations: 40 kB / 450.2 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.1607, allocations: 23.97 kB / 450.2 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.1611, allocations: 254.4 kB / 450.4 MB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1615, allocations: 0.7043 MB / 451.1 MB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.1615, allocations: 21.17 kB / 451.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.1615, allocations: 15.44 kB / 451.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1616, allocations: 3.938 kB / 451.2 MB, free: 4.773 MB / 382.1 MB Notification: Performance of Templates: time 0.003988/0.1655, allocations: 1.616 MB / 452.8 MB, free: 3.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches