Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 107 kB / 16.27 MB, free: 6.312 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.001662/0.001662, allocations: 188.5 kB / 17.19 MB, free: 5.93 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.765/1.765, 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.2876/0.2876, 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.001628/0.001628, allocations: 70.98 kB / 382.7 MB, free: 56.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1457, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00319/0.149, allocations: 1.701 MB / 442.2 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.1503, allocations: 0.7922 MB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.671e-05/0.1504, allocations: 0 / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003518/0.1507, allocations: 115.7 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.151, allocations: 87.7 kB / 443.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1512, allocations: 83.7 kB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.1514, allocations: 119.7 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1516, allocations: 12.52 kB / 443.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1517, allocations: 59.7 kB / 443.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1518, allocations: 59.81 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1518, allocations: 4 kB / 443.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1519, allocations: 43.98 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.152, allocations: 27.91 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.1521, allocations: 47.67 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1523, allocations: 127.5 kB / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1523, allocations: 0 / 443.8 MB, free: 3.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1524, allocations: 4 kB / 443.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.118e-06/0.1524, allocations: 0 / 443.8 MB, free: 3.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005957/0.153, allocations: 450.5 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.153, allocations: 11.89 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/0.1531, allocations: 12.84 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1533, allocations: 220 kB / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.1534, allocations: 384 / 444.5 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1534, allocations: 8.125 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1536, allocations: 65.66 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1536, allocations: 0 / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1536, allocations: 0 / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1536, allocations: 0 / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1537, allocations: 31.92 kB / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.1541, allocations: 308.7 kB / 444.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1543, allocations: 70.69 kB / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.1544, allocations: 28.84 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1544, allocations: 3.938 kB / 445 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.1546, allocations: 79.38 kB / 445.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1546, allocations: 0 / 445.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006192/0.1553, allocations: 201 kB / 445.3 MB, free: 1.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1553, allocations: 59.41 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1555, allocations: 246.3 kB / 445.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1556, allocations: 33.7 kB / 445.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.1556, allocations: 108.1 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1557, allocations: 27.56 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.1557, allocations: 29.64 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.1558, allocations: 334.8 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-05/0.1559, allocations: 27.98 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.1559, allocations: 41.64 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.156, allocations: 65.7 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1561, allocations: 0 / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001757/0.1562, allocations: 113.4 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1563, allocations: 7.984 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1563, allocations: 4 kB / 446.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1563, allocations: 4.031 kB / 446.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.1564, allocations: 23.94 kB / 446.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1564, allocations: 0 / 446.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.1565, allocations: 7.922 kB / 446.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1565, allocations: 4 kB / 446.4 MB, free: 0.7969 MB / 318.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 (11): * Single equations (assignments): 11 * 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.546e-05/0.1566, allocations: 141.9 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.1566, allocations: 11.81 kB / 446.5 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.1567, allocations: 25.34 kB / 446.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1567, allocations: 8 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1567, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1567, allocations: 7.922 kB / 446.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.1571, allocations: 411.3 kB / 447 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1571, allocations: 0 / 447 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.585e-05/0.1571, allocations: 15.94 kB / 447 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1571, allocations: 0 / 447 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1571, allocations: 11.92 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1571, allocations: 4 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1572, allocations: 4.031 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.1574, allocations: 212.1 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.1575, allocations: 85.02 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.1575, allocations: 15.86 kB / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.1576, allocations: 4 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1577, allocations: 12 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.1577, allocations: 7.984 kB / 447.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.1579, allocations: 188.2 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1579, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1582, allocations: 24 kB / 447.5 MB, free: 15.53 MB / 334.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 (9): * Single equations (assignments): 7 * 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.001184/0.1594, allocations: 471.2 kB / 448 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1596, allocations: 71.84 kB / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1596, allocations: 0 / 448.1 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.1597, allocations: 39.91 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1602, allocations: 31.97 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.1609, allocations: 295.9 kB / 448.4 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/0.1614, allocations: 0.7158 MB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.309e-05/0.1615, allocations: 16.64 kB / 449.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.1615, allocations: 23.38 kB / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.845e-06/0.1616, allocations: 0 / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Templates: time 0.004624/0.1662, allocations: 1.814 MB / 451 MB, free: 12.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches