Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002331/0.002338, allocations: 182.5 kB / 16.4 MB, free: 5.75 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.133/2.133, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001152/0.001152, allocations: 91.64 kB / 270.9 MB, free: 8.363 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.5785/0.5785, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 20 kB / 431.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002645/0.1308, allocations: 1.386 MB / 491.6 MB, free: 9.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1326, allocations: 0.7267 MB / 492.3 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.218e-05/0.1328, allocations: 4 kB / 492.3 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.1331, allocations: 39.77 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1333, allocations: 39.89 kB / 492.4 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1337, allocations: 71.78 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1339, allocations: 55.92 kB / 492.5 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.134, allocations: 20.14 kB / 492.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.1342, allocations: 39.78 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.1343, allocations: 27.86 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1343, allocations: 4 kB / 492.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1344, allocations: 31.92 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.1345, allocations: 15.91 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.1345, allocations: 37.7 kB / 492.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1348, allocations: 80.11 kB / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1348, allocations: 0 / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.809e-06/0.1348, allocations: 0 / 492.8 MB, free: 8.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1348, allocations: 3.938 kB / 492.8 MB, free: 8.609 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.00067/0.1355, allocations: 406.4 kB / 493.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1356, allocations: 20.02 kB / 493.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1356, allocations: 7.906 kB / 493.2 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1359, allocations: 206.8 kB / 493.4 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.136, allocations: 4 kB / 493.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.136, allocations: 4 kB / 493.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.1362, allocations: 53.67 kB / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1362, allocations: 0 / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1363, allocations: 0 / 493.5 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1363, allocations: 7.891 kB / 493.5 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1364, allocations: 19.98 kB / 493.5 MB, free: 7.805 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.1369, allocations: 281 kB / 493.8 MB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1371, allocations: 58.67 kB / 493.8 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1372, allocations: 3.938 kB / 493.8 MB, free: 7.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002442/0.1374, allocations: 75.38 kB / 493.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.464e-06/0.1375, allocations: 0 / 493.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000771/0.1382, allocations: 169.3 kB / 494.1 MB, free: 7.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1383, allocations: 51.41 kB / 494.1 MB, free: 7.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1386, allocations: 190.1 kB / 494.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1386, allocations: 25.7 kB / 494.3 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1388, allocations: 162.6 kB / 494.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.1388, allocations: 23.64 kB / 494.5 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.1389, allocations: 8 kB / 494.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.139, allocations: 314.8 kB / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.1391, allocations: 19.98 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1392, allocations: 41.64 kB / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.1394, allocations: 23.94 kB / 494.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1394, allocations: 0 / 494.9 MB, free: 6.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002986/0.1397, allocations: 89.72 kB / 495 MB, free: 6.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1397, allocations: 11.95 kB / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1397, allocations: 384 / 495 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1398, allocations: 7.922 kB / 495 MB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1399, allocations: 15.94 kB / 495.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.14, allocations: 4 kB / 495.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.885e-05/0.1401, allocations: 4 kB / 495.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1401, allocations: 4 kB / 495.1 MB, free: 6.121 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 ($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.0001471/0.1402, allocations: 125.8 kB / 495.2 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1403, allocations: 15.91 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.361e-05/0.1404, allocations: 20.66 kB / 495.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1404, allocations: 3.984 kB / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.1404, allocations: 0 / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1404, allocations: 0 / 495.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/0.1411, allocations: 399.2 kB / 495.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1411, allocations: 0 / 495.6 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.1412, allocations: 8 kB / 495.6 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1412, allocations: 4.031 kB / 495.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.1412, allocations: 3.984 kB / 495.6 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1412, allocations: 4 kB / 495.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.1412, allocations: 3.938 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.1416, allocations: 214 kB / 495.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.1417, allocations: 85.02 kB / 495.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.568e-05/0.1417, allocations: 11.98 kB / 495.9 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.1419, allocations: 4 kB / 495.9 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1419, allocations: 4 kB / 496 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.142, allocations: 3.984 kB / 496 MB, free: 5.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.1421, allocations: 148.1 kB / 496.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1422, allocations: 0 / 496.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003531/0.1425, allocations: 27.89 kB / 496.1 MB, free: 4.949 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 (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.001417/0.1439, allocations: 475.6 kB / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.1443, allocations: 51.98 kB / 496.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1443, allocations: 0 / 496.6 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1445, allocations: 35.98 kB / 496.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1449, allocations: 23.94 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.1456, allocations: 268.2 kB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.146, allocations: 0.7082 MB / 497.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.146, allocations: 15.44 kB / 497.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1461, allocations: 0 / 497.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of Templates: time 0.005669/0.1517, allocations: 1.887 MB / 499.6 MB, free: 1.488 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches