Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 97.69 kB / 17 MB, free: 6.418 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.001656/0.001656, allocations: 188.3 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 241.9 MB, free: 14.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.21/0.21, allocations: 44.26 MB / 337.3 MB, free: 2.535 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 11.98 kB / 409.7 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002573/0.1461, allocations: 1.398 MB / 473 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1478, allocations: 0.7959 MB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.1479, allocations: 0 / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.1482, allocations: 51.81 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1484, allocations: 51.81 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1487, allocations: 87.83 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1489, allocations: 83.7 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.149, allocations: 12.2 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.1491, allocations: 47.72 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.351e-05/0.1492, allocations: 31.86 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1492, allocations: 0 / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.1493, allocations: 35.97 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.1494, allocations: 19.92 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.297e-05/0.1494, allocations: 37.64 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1496, allocations: 100.1 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.1496, allocations: 0 / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1496, allocations: 0 / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1496, allocations: 3.938 kB / 474.4 MB, free: 10.91 MB / 350.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.000696/0.1503, allocations: 406.8 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1504, allocations: 12.02 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1505, allocations: 7.906 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1508, allocations: 207.2 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1508, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.1509, allocations: 7.984 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.151, allocations: 53.62 kB / 475 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1511, allocations: 8 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1511, allocations: 0 / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1511, allocations: 4 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.782e-05/0.1512, allocations: 19.92 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.1517, allocations: 292.8 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1519, allocations: 62.67 kB / 475.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.016e-05/0.152, allocations: 16.86 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.152, allocations: 11.94 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.1523, allocations: 63.39 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1523, allocations: 0 / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000611/0.1529, allocations: 177.3 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1529, allocations: 51.41 kB / 475.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.1532, allocations: 222.7 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1532, allocations: 37.7 kB / 476 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.1533, allocations: 104.1 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1534, allocations: 27.64 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1534, allocations: 0 / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1536, allocations: 330.8 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.1536, allocations: 16 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.1537, allocations: 33.7 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.1538, allocations: 35.92 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1538, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002521/0.154, allocations: 101.5 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1541, allocations: 4 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1541, allocations: 0 / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1541, allocations: 4 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.1542, allocations: 19.92 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1542, allocations: 0 / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1542, allocations: 8.188 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.1543, allocations: 8.031 kB / 476.7 MB, free: 8.363 MB / 350.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.1545, allocations: 137.7 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1545, allocations: 11.84 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.1546, allocations: 21.39 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1546, allocations: 0 / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1546, allocations: 0 / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1546, allocations: 0 / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.1551, allocations: 403.2 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.1552, allocations: 7.984 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.1552, allocations: 7.984 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.1552, allocations: 4 kB / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1552, allocations: 0 / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1552, allocations: 0 / 477.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.1553, allocations: 7.938 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1555, allocations: 204.3 kB / 477.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.1556, allocations: 92.91 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.1556, allocations: 4 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.1557, allocations: 4 kB / 477.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.1557, allocations: 3.984 kB / 477.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.1557, allocations: 4 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001669/0.1559, allocations: 172.3 kB / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1559, allocations: 0 / 477.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1562, allocations: 31.98 kB / 477.8 MB, free: 7.164 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.1573, allocations: 470.3 kB / 478.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1575, allocations: 55.97 kB / 478.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1575, allocations: 0 / 478.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.1576, allocations: 27.94 kB / 478.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.158, allocations: 40.05 kB / 478.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/0.1585, allocations: 270.2 kB / 478.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.1589, allocations: 0.7043 MB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.578e-05/0.159, allocations: 16.88 kB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.159, allocations: 27.42 kB / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.159, allocations: 0 / 479.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of Templates: time 0.005356/0.1644, allocations: 1.591 MB / 480.9 MB, free: 4.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches