Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001834/0.001834, allocations: 187 kB / 16.64 MB, free: 5.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 105.9 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3746/0.3746, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00102/0.00102, allocations: 55.92 kB / 429.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1366, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003741/0.1404, allocations: 1.845 MB / 488.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1421, allocations: 0.8664 MB / 489.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1422, allocations: 4 kB / 489.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.1428, allocations: 307.4 kB / 490 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004306/0.1433, allocations: 199.5 kB / 490.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1438, allocations: 123.7 kB / 490.4 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.1441, allocations: 235.4 kB / 490.6 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.228e-05/0.1442, allocations: 17.53 kB / 490.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1444, allocations: 119.5 kB / 490.7 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1447, allocations: 195.5 kB / 490.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1447, allocations: 4 kB / 490.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1449, allocations: 43.98 kB / 491 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.145, allocations: 127.6 kB / 491.1 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.1452, allocations: 154.7 kB / 491.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004064/0.1456, allocations: 355 kB / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1456, allocations: 0 / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1456, allocations: 0 / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1456, allocations: 0 / 491.6 MB, free: 7.934 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00117/0.1468, allocations: 0.7269 MB / 492.3 MB, free: 7.156 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1469, allocations: 12.03 kB / 492.3 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.147, allocations: 44.38 kB / 492.4 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008151/0.1478, allocations: 459.7 kB / 492.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1479, allocations: 384 / 492.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1479, allocations: 8.125 kB / 492.8 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.1481, allocations: 83.36 kB / 492.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1481, allocations: 0 / 492.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1482, allocations: 0 / 492.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.1482, allocations: 4 kB / 492.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1483, allocations: 35.92 kB / 492.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.1489, allocations: 370.4 kB / 493.3 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.1492, allocations: 105.2 kB / 493.4 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1493, allocations: 49.62 kB / 493.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1494, allocations: 4 kB / 493.5 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003683/0.1497, allocations: 97.08 kB / 493.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1497, allocations: 0 / 493.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000519/0.1503, allocations: 209.3 kB / 493.8 MB, free: 5.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.1503, allocations: 81.11 kB / 493.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1515, allocations: 1.038 MB / 494.9 MB, free: 4.406 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1515, allocations: 29.7 kB / 494.9 MB, free: 4.371 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.1517, allocations: 232 kB / 495.1 MB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.1518, allocations: 31.62 kB / 495.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.1519, allocations: 29.7 kB / 495.2 MB, free: 4.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1521, allocations: 370.8 kB / 495.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.1522, allocations: 32.05 kB / 495.6 MB, free: 3.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1523, allocations: 63.42 kB / 495.6 MB, free: 3.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1525, allocations: 91.34 kB / 495.7 MB, free: 3.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1525, allocations: 4 kB / 495.7 MB, free: 3.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000348/0.1529, allocations: 164.9 kB / 495.9 MB, free: 3.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1529, allocations: 4 kB / 495.9 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1529, allocations: 4 kB / 495.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.153, allocations: 0 / 495.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1531, allocations: 23.92 kB / 495.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1531, allocations: 4 kB / 495.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1532, allocations: 19.98 kB / 495.9 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1533, allocations: 4 kB / 496 MB, free: 3.266 MB / 378.7 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002221/0.1535, allocations: 241.5 kB / 496.2 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1536, allocations: 47.34 kB / 496.2 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/0.1537, allocations: 60 kB / 496.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.1537, allocations: 0 / 496.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1537, allocations: 4 kB / 496.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1537, allocations: 0 / 496.3 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.154, allocations: 341.5 kB / 496.6 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.154, allocations: 8 kB / 496.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1541, allocations: 7.938 kB / 496.6 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1541, allocations: 4 kB / 496.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1541, allocations: 0 / 496.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1541, allocations: 0 / 496.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1541, allocations: 4 kB / 496.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.1549, allocations: 0.8774 MB / 497.5 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.1551, allocations: 144.5 kB / 497.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.1552, allocations: 3.938 kB / 497.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1553, allocations: 7.984 kB / 497.7 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.1553, allocations: 15.92 kB / 497.7 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1554, allocations: 4 kB / 497.7 MB, free: 1.371 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008207/0.1562, allocations: 0.7682 MB / 498.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1562, allocations: 0 / 498.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.1566, allocations: 47.98 kB / 498.5 MB, free: 0.5586 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009348/0.1576, allocations: 414 kB / 498.9 MB, free: 204 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.1578, allocations: 79.91 kB / 499 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1578, allocations: 0 / 499 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1579, allocations: 47.84 kB / 499 MB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1584, allocations: 70.25 kB / 499.1 MB, free: 8 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.1599, allocations: 1.074 MB / 0.4885 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.1604, allocations: 0.8508 MB / 0.4893 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.1606, allocations: 50.95 kB / 0.4893 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1606, allocations: 31.42 kB / 0.4894 GB, free: 13.93 MB / 394.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1607, allocations: 0 / 0.4894 GB, free: 13.93 MB / 394.7 MB Notification: Performance of Templates: time 0.008212/0.1689, allocations: 3.667 MB / 0.493 GB, free: 10.27 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches