Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001569, allocations: 183.2 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.283/2.283, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001135/0.001135, allocations: 93.2 kB / 270.9 MB, free: 8.367 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.5091/0.5091, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004907/0.000491, allocations: 20 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002571/0.1344, allocations: 1.346 MB / 491.6 MB, free: 9.633 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1362, allocations: 0.7202 MB / 492.3 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.1363, allocations: 4 kB / 492.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1367, allocations: 31.83 kB / 492.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.1369, allocations: 47.88 kB / 492.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.1373, allocations: 71.78 kB / 492.4 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1375, allocations: 59.86 kB / 492.5 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.092e-05/0.1376, allocations: 11.97 kB / 492.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1377, allocations: 39.84 kB / 492.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.1378, allocations: 27.86 kB / 492.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1379, allocations: 4 kB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.138, allocations: 16 kB / 492.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.138, allocations: 31.89 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1381, allocations: 37.64 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1383, allocations: 84.05 kB / 492.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1383, allocations: 0 / 492.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1383, allocations: 0 / 492.7 MB, free: 8.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1384, allocations: 0 / 492.7 MB, free: 8.441 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006816/0.1391, allocations: 426.7 kB / 493.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1391, allocations: 8.031 kB / 493.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.1392, allocations: 11.81 kB / 493.2 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.1395, allocations: 214.8 kB / 493.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1395, allocations: 0 / 493.4 MB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.1396, allocations: 4 kB / 493.4 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1397, allocations: 45.67 kB / 493.4 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1398, allocations: 0 / 493.4 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1398, allocations: 4 kB / 493.4 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.1398, allocations: 3.953 kB / 493.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.644e-05/0.1399, allocations: 19.92 kB / 493.5 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.1402, allocations: 193.7 kB / 493.7 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.1404, allocations: 46.62 kB / 493.7 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.1405, allocations: 3.938 kB / 493.7 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.1408, allocations: 75.39 kB / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.1408, allocations: 0 / 493.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004094/0.1412, allocations: 101.5 kB / 493.9 MB, free: 7.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1413, allocations: 55.36 kB / 493.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.1417, allocations: 262.5 kB / 494.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1417, allocations: 25.7 kB / 494.2 MB, free: 6.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.1418, allocations: 170.6 kB / 494.4 MB, free: 6.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1418, allocations: 15.81 kB / 494.4 MB, free: 6.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1419, allocations: 0 / 494.4 MB, free: 6.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.142, allocations: 314.8 kB / 494.7 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.1421, allocations: 15.97 kB / 494.7 MB, free: 6.254 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.166e-05/0.1422, allocations: 33.7 kB / 494.8 MB, free: 6.215 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.1423, allocations: 15.94 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1423, allocations: 0 / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002371/0.1426, allocations: 73.69 kB / 494.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1426, allocations: 4 kB / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1426, allocations: 0 / 494.8 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1426, allocations: 3.984 kB / 494.9 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1428, allocations: 23.92 kB / 494.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1428, allocations: 0 / 494.9 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.147e-05/0.1429, allocations: 7.891 kB / 494.9 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1429, allocations: 4 kB / 494.9 MB, free: 6.078 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 (7): * Single equations (assignments): 7 * 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.000155/0.1431, allocations: 145.6 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.1431, allocations: 11.81 kB / 495 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.1432, allocations: 20.98 kB / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1432, allocations: 0 / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1432, allocations: 0 / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1432, allocations: 0 / 495.1 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.1434, allocations: 197.6 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1435, allocations: 0 / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.464e-05/0.1435, allocations: 4 kB / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1435, allocations: 0 / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1435, allocations: 0 / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1435, allocations: 4 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1436, allocations: 0 / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.1439, allocations: 129.1 kB / 495.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.1439, allocations: 92.91 kB / 495.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.144, allocations: 4 kB / 495.5 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.1441, allocations: 0 / 495.5 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1441, allocations: 7.984 kB / 495.5 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.1441, allocations: 8 kB / 495.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.1444, allocations: 196 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1444, allocations: 0 / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.1448, allocations: 16 kB / 495.7 MB, free: 5.168 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001209/0.146, allocations: 400.5 kB / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1463, allocations: 51.91 kB / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1463, allocations: 0 / 496.1 MB, free: 4.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.343e-05/0.1464, allocations: 20.06 kB / 496.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.1467, allocations: 31.92 kB / 496.2 MB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.1474, allocations: 303.4 kB / 496.5 MB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1478, allocations: 0.7199 MB / 497.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.1479, allocations: 11.44 kB / 497.2 MB, free: 3.629 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1479, allocations: 4 kB / 497.2 MB, free: 3.625 MB / 378.7 MB Notification: Performance of Templates: time 0.005478/0.1534, allocations: 1.816 MB / 499 MB, free: 1.812 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches