Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, 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.657/1.657, allocations: 205.1 MB / 222.5 MB, free: 8.48 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.001056/0.001056, allocations: 93.55 kB / 269.9 MB, free: 8.434 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.4464/0.4464, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 55.92 kB / 429.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1369, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003031/0.14, allocations: 1.76 MB / 488.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1412, allocations: 0.7923 MB / 489.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.1413, allocations: 4 kB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.1416, allocations: 39.88 kB / 489.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.1418, allocations: 51.83 kB / 489.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.142, allocations: 83.77 kB / 489.7 MB, free: 9.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1421, allocations: 91.7 kB / 489.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.1422, allocations: 16.2 kB / 489.9 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.1423, allocations: 51.7 kB / 489.9 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.1424, allocations: 27.86 kB / 489.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1424, allocations: 0 / 489.9 MB, free: 9.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.1425, allocations: 43.98 kB / 490 MB, free: 9.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.1426, allocations: 23.91 kB / 490 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.1426, allocations: 39.67 kB / 490 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.1428, allocations: 119.8 kB / 490.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1428, allocations: 4 kB / 490.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1428, allocations: 0 / 490.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1429, allocations: 0 / 490.2 MB, free: 9.383 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000509/0.1434, allocations: 426.8 kB / 490.6 MB, free: 8.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.1434, allocations: 8.031 kB / 490.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.1435, allocations: 12.84 kB / 490.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1437, allocations: 220 kB / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1437, allocations: 384 / 490.8 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.1437, allocations: 8.125 kB / 490.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1439, allocations: 61.61 kB / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1439, allocations: 0 / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1439, allocations: 0 / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1439, allocations: 0 / 490.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.857e-05/0.144, allocations: 27.92 kB / 490.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.1443, allocations: 292.8 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1445, allocations: 58.62 kB / 491.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.1446, allocations: 24.84 kB / 491.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1446, allocations: 0 / 491.3 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.1447, allocations: 63.39 kB / 491.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1448, allocations: 0 / 491.3 MB, free: 8.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004793/0.1452, allocations: 177.1 kB / 491.5 MB, free: 7.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1453, allocations: 55.41 kB / 491.6 MB, free: 7.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.1455, allocations: 218.7 kB / 491.8 MB, free: 7.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1455, allocations: 29.7 kB / 491.8 MB, free: 7.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1456, allocations: 108.1 kB / 491.9 MB, free: 7.426 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1456, allocations: 27.64 kB / 491.9 MB, free: 7.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.1457, allocations: 21.72 kB / 492 MB, free: 7.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1458, allocations: 334.8 kB / 492.3 MB, free: 7.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.067e-05/0.1458, allocations: 20 kB / 492.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.127e-05/0.1459, allocations: 37.64 kB / 492.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.146, allocations: 57.7 kB / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.146, allocations: 0 / 492.4 MB, free: 6.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001632/0.1462, allocations: 101.4 kB / 492.5 MB, free: 6.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1462, allocations: 4 kB / 492.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1462, allocations: 11.95 kB / 492.5 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1463, allocations: 4 kB / 492.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.1463, allocations: 12 kB / 492.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1464, allocations: 0.5312 kB / 492.5 MB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.1464, allocations: 11.94 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1464, allocations: 7.984 kB / 492.5 MB, free: 6.754 MB / 378.7 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 0.0001016/0.1465, allocations: 133.8 kB / 492.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1466, allocations: 11.91 kB / 492.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.1466, allocations: 21.39 kB / 492.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1466, allocations: 4 kB / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1466, allocations: 0 / 492.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1466, allocations: 3.938 kB / 492.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.147, allocations: 399.2 kB / 493.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1471, allocations: 4 kB / 493.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.1471, allocations: 8 kB / 493.1 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1471, allocations: 4.172 kB / 493.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1471, allocations: 3.938 kB / 493.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1471, allocations: 7.969 kB / 493.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1471, allocations: 4 kB / 493.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.1477, allocations: 0.7831 MB / 493.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.1477, allocations: 89 kB / 494 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1478, allocations: 4 kB / 494 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.1478, allocations: 8 kB / 494 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.1479, allocations: 7.969 kB / 494 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1479, allocations: 4 kB / 494 MB, free: 5.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.148, allocations: 172.3 kB / 494.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.148, allocations: 0 / 494.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.1484, allocations: 23.98 kB / 494.2 MB, free: 4.926 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: 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.0009242/0.1493, allocations: 463.8 kB / 494.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.1495, allocations: 55.91 kB / 494.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1495, allocations: 4 kB / 494.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.1496, allocations: 31.92 kB / 494.8 MB, free: 4.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1499, allocations: 32.09 kB / 494.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.1504, allocations: 407.6 kB / 495.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1507, allocations: 0.7121 MB / 495.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.1508, allocations: 17.19 kB / 495.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1508, allocations: 19.42 kB / 495.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1508, allocations: 0 / 495.9 MB, free: 3.191 MB / 378.7 MB Notification: Performance of Templates: time 0.003972/0.1548, allocations: 1.692 MB / 497.6 MB, free: 1.508 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches