Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002324/0.002331, allocations: 188.3 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.098/2.098, 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.00115/0.001149, allocations: 98.8 kB / 270.9 MB, free: 13.38 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.2915/0.2915, allocations: 43.55 MB / 362.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004872, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003374/0.1289, allocations: 1.894 MB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.1318, allocations: 1.077 MB / 493.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.132, allocations: 7.938 kB / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000695/0.1327, allocations: 255.3 kB / 493.5 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000699/0.1335, allocations: 235.4 kB / 493.7 MB, free: 5.863 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.1347, allocations: 303.3 kB / 494 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.1355, allocations: 331.2 kB / 494.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.1357, allocations: 53.08 kB / 494.4 MB, free: 5.188 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.1361, allocations: 203.2 kB / 494.6 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/0.1365, allocations: 195.2 kB / 494.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-05/0.1366, allocations: 16 kB / 494.8 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.1368, allocations: 31.98 kB / 494.8 MB, free: 4.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.137, allocations: 103.6 kB / 494.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.1371, allocations: 85.45 kB / 495 MB, free: 4.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.1376, allocations: 279.6 kB / 495.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1376, allocations: 0 / 495.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1376, allocations: 0 / 495.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.1376, allocations: 0 / 495.3 MB, free: 4.285 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001545/0.1392, allocations: 0.697 MB / 496 MB, free: 3.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1392, allocations: 12.03 kB / 496 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1394, allocations: 47.39 kB / 496 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007533/0.1401, allocations: 379.1 kB / 496.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.1402, allocations: 15.98 kB / 496.4 MB, free: 3.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.1403, allocations: 15.98 kB / 496.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.1409, allocations: 201.8 kB / 496.6 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1409, allocations: 11.84 kB / 496.6 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.693e-05/0.141, allocations: 7.984 kB / 496.6 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.141, allocations: 4 kB / 496.6 MB, free: 2.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.1414, allocations: 99.83 kB / 496.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1427, allocations: 0.8488 MB / 497.6 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1438, allocations: 293.7 kB / 497.9 MB, free: 1.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.1438, allocations: 12.12 kB / 497.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/0.1445, allocations: 231.3 kB / 498.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.966e-06/0.1445, allocations: 0 / 498.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.003135/0.1477, allocations: 0.9654 MB / 499.1 MB, free: 216 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.1478, allocations: 166.2 kB / 499.2 MB, free: 12 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.1489, allocations: 0.6081 MB / 499.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.1489, allocations: 37.7 kB / 499.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1491, allocations: 247.5 kB / 0.4884 GB, free: 15.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.1493, allocations: 122.4 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.1493, allocations: 4 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1495, allocations: 338.7 kB / 0.4888 GB, free: 14.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.1499, allocations: 100.8 kB / 0.4889 GB, free: 14.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.1504, allocations: 176.9 kB / 0.4891 GB, free: 14.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.1508, allocations: 124.3 kB / 0.4892 GB, free: 14.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1508, allocations: 0 / 0.4892 GB, free: 14.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001119/0.152, allocations: 353.5 kB / 0.4896 GB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.152, allocations: 8.156 kB / 0.4896 GB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.152, allocations: 4 kB / 0.4896 GB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.152, allocations: 4 kB / 0.4896 GB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.1526, allocations: 87.83 kB / 0.4897 GB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1527, allocations: 12.06 kB / 0.4897 GB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.153, allocations: 15.98 kB / 0.4897 GB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.1531, allocations: 20 kB / 0.4897 GB, free: 13.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003393/0.1534, allocations: 220.2 kB / 0.4899 GB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.1536, allocations: 51.34 kB / 0.49 GB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.1538, allocations: 67.91 kB / 0.49 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.1538, allocations: 4 kB / 0.49 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.1538, allocations: 0 / 0.49 GB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.1538, allocations: 11.92 kB / 0.49 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.1562, allocations: 1.261 MB / 0.4913 GB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.1563, allocations: 8 kB / 0.4913 GB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.1566, allocations: 47.92 kB / 0.4913 GB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.1566, allocations: 8.156 kB / 0.4913 GB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.1567, allocations: 19.94 kB / 0.4914 GB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.1567, allocations: 4 kB / 0.4914 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.1567, allocations: 3.938 kB / 0.4914 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.1582, allocations: 0.9101 MB / 0.4922 GB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.1584, allocations: 140.4 kB / 0.4924 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1585, allocations: 19.98 kB / 0.4924 GB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.1591, allocations: 23.98 kB / 0.4924 GB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.1592, allocations: 35.91 kB / 0.4925 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.1593, allocations: 20 kB / 0.4925 GB, free: 10.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00076/0.16, allocations: 450.8 kB / 0.4929 GB, free: 10.24 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.16, allocations: 0 / 0.4929 GB, free: 10.24 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008234/0.1609, allocations: 87.89 kB / 0.493 GB, free: 10.15 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00142/0.1623, allocations: 0.4918 MB / 0.4935 GB, free: 9.711 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1634, allocations: 295.7 kB / 0.4938 GB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1634, allocations: 0 / 0.4938 GB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.1639, allocations: 139.8 kB / 0.4939 GB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.1652, allocations: 115.7 kB / 0.494 GB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1674, allocations: 0.9835 MB / 0.495 GB, free: 8.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.1681, allocations: 0.8631 MB / 0.4958 GB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.1683, allocations: 55.41 kB / 0.4959 GB, free: 7.191 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1683, allocations: 0 / 0.4959 GB, free: 7.191 MB / 346.7 MB Notification: Performance of Templates: time 0.01539/0.1837, allocations: 6.174 MB / 0.5019 GB, free: 1.02 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test67.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches