Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001599, allocations: 188.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001578/0.001577, allocations: 90.81 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3845/0.3845, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004617, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002577/0.1199, allocations: 1.379 MB / 491.6 MB, free: 7.945 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1218, allocations: 0.7384 MB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.905e-05/0.1219, allocations: 11.88 kB / 492.4 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.1222, allocations: 27.84 kB / 492.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.1225, allocations: 43.88 kB / 492.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1229, allocations: 63.8 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1231, allocations: 67.84 kB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.1232, allocations: 12.23 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1233, allocations: 35.84 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.1234, allocations: 23.86 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.1234, allocations: 0 / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.1236, allocations: 31.92 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.1236, allocations: 19.91 kB / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.1237, allocations: 37.7 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.1239, allocations: 88.03 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1239, allocations: 0 / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1239, allocations: 4 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.124, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.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.0006465/0.1246, allocations: 398.9 kB / 493.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.1247, allocations: 16.02 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.1247, allocations: 11.86 kB / 493.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.125, allocations: 194.9 kB / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1251, allocations: 3.984 kB / 493.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.1251, allocations: 4 kB / 493.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.1253, allocations: 61.61 kB / 493.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1254, allocations: 0 / 493.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.1254, allocations: 0 / 493.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1254, allocations: 0 / 493.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1255, allocations: 31.94 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004793/0.126, allocations: 280.9 kB / 493.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1263, allocations: 58.62 kB / 493.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1263, allocations: 0 / 493.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.1266, allocations: 67.5 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.1266, allocations: 0 / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007704/0.1274, allocations: 181.2 kB / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1274, allocations: 51.41 kB / 494.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.1277, allocations: 194.1 kB / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1277, allocations: 29.7 kB / 494.4 MB, free: 4.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.1278, allocations: 158.6 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1279, allocations: 27.64 kB / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.1279, allocations: 0 / 494.5 MB, free: 4.801 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1281, allocations: 318.8 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.1282, allocations: 19.98 kB / 494.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1283, allocations: 41.64 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1284, allocations: 27.94 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1284, allocations: 0 / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002889/0.1287, allocations: 93.59 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.1288, allocations: 10.66 kB / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1288, allocations: 0 / 495 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1288, allocations: 3.953 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1289, allocations: 15.94 kB / 495.1 MB, free: 4.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.129, allocations: 4 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.417e-05/0.1291, allocations: 12.02 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1291, allocations: 4 kB / 495.1 MB, free: 4.242 MB / 330.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 ($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.0001842/0.1293, allocations: 121.8 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.1293, allocations: 15.81 kB / 495.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.1294, allocations: 16.7 kB / 495.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1294, allocations: 7.938 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1294, allocations: 0 / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1294, allocations: 0 / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.1301, allocations: 387.3 kB / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1302, allocations: 0 / 495.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.186e-05/0.1302, allocations: 15.98 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1303, allocations: 3.953 kB / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1303, allocations: 0 / 495.6 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.1303, allocations: 7.938 kB / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1303, allocations: 384 / 495.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.1307, allocations: 214 kB / 495.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.1308, allocations: 96.86 kB / 495.9 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1308, allocations: 4 kB / 495.9 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.1309, allocations: 8 kB / 496 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.131, allocations: 7.984 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.131, allocations: 0 / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001754/0.1312, allocations: 143.2 kB / 496.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1312, allocations: 0 / 496.1 MB, free: 3.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.1316, allocations: 23.98 kB / 496.1 MB, free: 3.07 MB / 330.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 (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.001373/0.133, allocations: 476.8 kB / 496.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.1333, allocations: 55.97 kB / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1333, allocations: 0 / 496.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.1334, allocations: 27.94 kB / 496.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.1338, allocations: 23.97 kB / 496.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.1345, allocations: 264.2 kB / 497 MB, free: 2.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1348, allocations: 0.7082 MB / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/0.1349, allocations: 15.44 kB / 497.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1349, allocations: 0 / 497.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of Templates: time 0.005652/0.1406, allocations: 1.886 MB / 499.6 MB, free: 15.62 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches