Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001475/0.001481, allocations: 183 kB / 16.63 MB, free: 5.137 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.708/1.708, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001073/0.001074, allocations: 95.92 kB / 269.9 MB, free: 8.441 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.3908/0.3908, allocations: 43.5 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 56.06 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1399, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003696/0.1437, allocations: 1.853 MB / 488.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1453, allocations: 0.8741 MB / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1455, allocations: 0 / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.1461, allocations: 287.4 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.1465, allocations: 199.5 kB / 490.2 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.147, allocations: 119.8 kB / 490.3 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.1474, allocations: 239.4 kB / 490.6 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.151e-05/0.1474, allocations: 17.53 kB / 490.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.1477, allocations: 115.5 kB / 490.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.148, allocations: 192 kB / 490.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.148, allocations: 0 / 490.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.1482, allocations: 43.98 kB / 490.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1483, allocations: 124.6 kB / 491.1 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1485, allocations: 146.8 kB / 491.2 MB, free: 8.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004523/0.149, allocations: 343 kB / 491.5 MB, free: 8.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.149, allocations: 4 kB / 491.5 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.149, allocations: 4 kB / 491.5 MB, free: 7.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.149, allocations: 0 / 491.5 MB, free: 7.996 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.001194/0.1502, allocations: 0.7191 MB / 492.3 MB, free: 7.227 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1503, allocations: 12.03 kB / 492.3 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.1504, allocations: 44.38 kB / 492.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007179/0.1511, allocations: 443.9 kB / 492.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1512, allocations: 384 / 492.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1512, allocations: 12.12 kB / 492.8 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.1514, allocations: 83.36 kB / 492.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1515, allocations: 0 / 492.8 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.1515, allocations: 7.938 kB / 492.8 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1515, allocations: 0 / 492.8 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1516, allocations: 27.92 kB / 492.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.1521, allocations: 378.2 kB / 493.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.1525, allocations: 113.2 kB / 493.4 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1526, allocations: 41.64 kB / 493.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1526, allocations: 4 kB / 493.4 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003193/0.153, allocations: 113 kB / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.153, allocations: 0 / 493.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005648/0.1535, allocations: 189.3 kB / 493.7 MB, free: 5.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.1537, allocations: 85.05 kB / 493.8 MB, free: 5.535 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.1549, allocations: 1.011 MB / 494.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1549, allocations: 29.7 kB / 494.8 MB, free: 4.477 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1551, allocations: 228.1 kB / 495 MB, free: 4.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.1551, allocations: 31.62 kB / 495.1 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.1552, allocations: 29.72 kB / 495.1 MB, free: 4.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1554, allocations: 366.8 kB / 495.5 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.1555, allocations: 27.98 kB / 495.5 MB, free: 3.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1556, allocations: 63.41 kB / 495.5 MB, free: 3.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1558, allocations: 87.36 kB / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1558, allocations: 0 / 495.6 MB, free: 3.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003147/0.1561, allocations: 165 kB / 495.8 MB, free: 3.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1561, allocations: 8.062 kB / 495.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1562, allocations: 7.938 kB / 495.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1562, allocations: 0 / 495.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1563, allocations: 27.92 kB / 495.8 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1563, allocations: 4 kB / 495.8 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.1564, allocations: 7.906 kB / 495.8 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1564, allocations: 4 kB / 495.8 MB, free: 3.391 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.0002126/0.1567, allocations: 230 kB / 496.1 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.1567, allocations: 47.44 kB / 496.1 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.53e-05/0.1568, allocations: 59.84 kB / 496.2 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.1569, allocations: 4 kB / 496.2 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1569, allocations: 3.938 kB / 496.2 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1569, allocations: 4 kB / 496.2 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.1572, allocations: 345.2 kB / 496.5 MB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1572, allocations: 3.938 kB / 496.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.1572, allocations: 8 kB / 496.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1572, allocations: 0 / 496.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.1573, allocations: 4 kB / 496.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1573, allocations: 0 / 496.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1573, allocations: 7.984 kB / 496.6 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.158, allocations: 0.8696 MB / 497.4 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.1582, allocations: 136.5 kB / 497.6 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.1582, allocations: 4 kB / 497.6 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.1583, allocations: 11.98 kB / 497.6 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.1584, allocations: 11.92 kB / 497.6 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1584, allocations: 8 kB / 497.6 MB, free: 1.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007593/0.1592, allocations: 0.7448 MB / 498.3 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1592, allocations: 4 kB / 498.3 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000365/0.1595, allocations: 36 kB / 498.4 MB, free: 0.7266 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.000929/0.1605, allocations: 422 kB / 498.8 MB, free: 368 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.1607, allocations: 87.89 kB / 498.9 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1608, allocations: 0 / 498.9 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1609, allocations: 35.92 kB / 498.9 MB, free: 244 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1613, allocations: 66.12 kB / 499 MB, free: 180 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1628, allocations: 1.055 MB / 0.4883 GB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.1633, allocations: 0.8391 MB / 0.4891 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1635, allocations: 62.94 kB / 0.4892 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.1636, allocations: 27.38 kB / 0.4892 GB, free: 14.12 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1636, allocations: 3.938 kB / 0.4892 GB, free: 14.12 MB / 394.7 MB Notification: Performance of Templates: time 0.00772/0.1713, allocations: 3.62 MB / 0.4928 GB, free: 10.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches