Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002429/0.002434, allocations: 188.1 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.152/2.152, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001204/0.001203, allocations: 102.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.2988/0.2988, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004808, allocations: 12 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.00266/0.1348, allocations: 1.383 MB / 491.6 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.1377, allocations: 1.309 MB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1378, allocations: 3.938 kB / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1382, allocations: 27.91 kB / 493 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1385, allocations: 47.81 kB / 493 MB, free: 6.555 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.1389, allocations: 71.8 kB / 493.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1391, allocations: 63.84 kB / 493.1 MB, free: 6.422 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.1392, allocations: 8.234 kB / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1393, allocations: 39.83 kB / 493.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.1395, allocations: 31.84 kB / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1395, allocations: 0 / 493.2 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.1397, allocations: 43.92 kB / 493.3 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.289e-05/0.1397, allocations: 11.92 kB / 493.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.1398, allocations: 33.7 kB / 493.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1401, allocations: 92.09 kB / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1401, allocations: 0 / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1401, allocations: 0 / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1401, allocations: 4 kB / 493.4 MB, free: 6.156 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.0006586/0.1408, allocations: 395 kB / 493.8 MB, free: 5.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1408, allocations: 12.02 kB / 493.8 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.412e-05/0.1409, allocations: 11.86 kB / 493.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1412, allocations: 198.9 kB / 494 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1413, allocations: 7.984 kB / 494 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1413, allocations: 0 / 494 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1415, allocations: 71.39 kB / 494.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1416, allocations: 3.938 kB / 494.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1416, allocations: 0 / 494.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1416, allocations: 7.938 kB / 494.1 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1417, allocations: 23.98 kB / 494.1 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1422, allocations: 277 kB / 494.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1425, allocations: 66.61 kB / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1425, allocations: 0 / 494.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.1428, allocations: 71.38 kB / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.1428, allocations: 0 / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007571/0.1435, allocations: 165.2 kB / 494.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.1436, allocations: 81.09 kB / 494.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.1439, allocations: 153.8 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1439, allocations: 25.7 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.144, allocations: 162.6 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.1441, allocations: 19.7 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.1441, allocations: 4 kB / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1443, allocations: 310.8 kB / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.1444, allocations: 27.92 kB / 495.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1445, allocations: 46.55 kB / 495.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1446, allocations: 23.94 kB / 495.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1446, allocations: 0 / 495.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002937/0.1449, allocations: 97.62 kB / 495.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.145, allocations: 7.438 kB / 495.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.145, allocations: 0 / 495.6 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.145, allocations: 3.938 kB / 495.6 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.1452, allocations: 19.94 kB / 495.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1452, allocations: 8.047 kB / 495.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.1453, allocations: 4 kB / 495.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1453, allocations: 4 kB / 495.7 MB, free: 3.66 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.0001377/0.1455, allocations: 121.8 kB / 495.8 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1455, allocations: 15.77 kB / 495.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.1456, allocations: 16.7 kB / 495.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1456, allocations: 0 / 495.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1456, allocations: 0 / 495.8 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1456, allocations: 4 kB / 495.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.1463, allocations: 395.4 kB / 496.2 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.1463, allocations: 4 kB / 496.2 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.987e-05/0.1464, allocations: 7.984 kB / 496.2 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1464, allocations: 4 kB / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1465, allocations: 0 / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1465, allocations: 3.938 kB / 496.2 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1465, allocations: 4.375 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.1469, allocations: 210 kB / 496.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.1469, allocations: 93 kB / 496.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.147, allocations: 4 kB / 496.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.1471, allocations: 4 kB / 496.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.1472, allocations: 7.984 kB / 496.5 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1472, allocations: 8 kB / 496.5 MB, free: 2.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1474, allocations: 122.7 kB / 496.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1474, allocations: 0 / 496.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003914/0.1478, allocations: 31.95 kB / 496.7 MB, free: 2.508 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.00156/0.1494, allocations: 0.5022 MB / 497.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002896/0.1497, allocations: 51.98 kB / 497.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1497, allocations: 0 / 497.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1498, allocations: 27.92 kB / 497.3 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.1502, allocations: 28.42 kB / 497.3 MB, free: 1.949 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.1508, allocations: 231.7 kB / 497.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1512, allocations: 0.7004 MB / 498.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.1513, allocations: 23.42 kB / 498.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of SimCode: time 3.236e-06/0.1513, allocations: 3.938 kB / 498.2 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of Templates: time 0.006131/0.1574, allocations: 2.053 MB / 0.4886 GB, free: 14.89 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches