Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 187 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.159/2.159, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001622/0.001622, allocations: 94.88 kB / 270.9 MB, free: 13.29 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.333/0.333, allocations: 43.55 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006741/0.0006744, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1307, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.002556/0.1333, allocations: 1.302 MB / 491.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008341/0.1342, allocations: 283.8 kB / 491.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.1343, allocations: 4 kB / 491.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.1345, allocations: 47.86 kB / 491.8 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1348, allocations: 51.81 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.1352, allocations: 91.88 kB / 492 MB, free: 7.547 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1354, allocations: 47.86 kB / 492 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1355, allocations: 12.19 kB / 492 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.1356, allocations: 27.91 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.1358, allocations: 35.84 kB / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1358, allocations: 0 / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1359, allocations: 23.92 kB / 492.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.136, allocations: 15.92 kB / 492.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.136, allocations: 37.64 kB / 492.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1362, allocations: 67.88 kB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1362, allocations: 0 / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1362, allocations: 4 kB / 492.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1362, allocations: 0 / 492.3 MB, free: 7.273 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006524/0.1369, allocations: 395.3 kB / 492.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.137, allocations: 12.02 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.137, allocations: 7.906 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1373, allocations: 194.8 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.1373, allocations: 4 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.1374, allocations: 11.94 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1376, allocations: 57.61 kB / 492.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1377, allocations: 7.938 kB / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1377, allocations: 0 / 492.9 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1377, allocations: 4 kB / 492.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.1379, allocations: 43.97 kB / 493 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.1385, allocations: 304.7 kB / 493.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.1387, allocations: 46.5 kB / 493.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.1387, allocations: 4 kB / 493.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1388, allocations: 30.56 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.1388, allocations: 0 / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001288/0.1401, allocations: 253.4 kB / 493.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.1402, allocations: 55.41 kB / 493.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1405, allocations: 190.2 kB / 493.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1405, allocations: 25.7 kB / 493.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/0.1406, allocations: 166.6 kB / 494 MB, free: 5.301 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1407, allocations: 19.72 kB / 494 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.1407, allocations: 4 kB / 494.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1408, allocations: 314.8 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.1411, allocations: 43.95 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1413, allocations: 39.97 kB / 494.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1415, allocations: 39.98 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1415, allocations: 0 / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005095/0.1421, allocations: 125.6 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1421, allocations: 8 kB / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.1421, allocations: 0 / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1421, allocations: 3.953 kB / 494.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.1424, allocations: 23.98 kB / 494.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1424, allocations: 0 / 494.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1425, allocations: 19.89 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.1425, allocations: 4 kB / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001437/0.1427, allocations: 125.8 kB / 494.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1427, allocations: 7.906 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005863/0.1433, allocations: 146.6 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1434, allocations: 4 kB / 494.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.1434, allocations: 7.953 kB / 494.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.29e-05/0.1434, allocations: 0 / 494.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008906/0.1443, allocations: 418.4 kB / 495.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.1444, allocations: 0 / 495.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1445, allocations: 23.98 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1446, allocations: 0 / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1446, allocations: 7.953 kB / 495.4 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1446, allocations: 0 / 495.4 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1446, allocations: 3.938 kB / 495.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.1452, allocations: 223.4 kB / 495.6 MB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.1453, allocations: 96.91 kB / 495.7 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1453, allocations: 0 / 495.7 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1455, allocations: 23.94 kB / 495.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.1456, allocations: 11.94 kB / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1456, allocations: 3.984 kB / 495.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001888/0.1458, allocations: 139.2 kB / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1458, allocations: 0 / 495.9 MB, free: 3.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.1462, allocations: 23.98 kB / 495.9 MB, free: 3.301 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001185/0.1474, allocations: 397.4 kB / 496.3 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005546/0.148, allocations: 87.94 kB / 496.4 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.148, allocations: 11.88 kB / 496.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.1482, allocations: 55.91 kB / 496.4 MB, free: 2.805 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/0.1486, allocations: 11.98 kB / 496.5 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006759/0.1493, allocations: 266.9 kB / 496.7 MB, free: 2.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1497, allocations: 0.7043 MB / 497.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.1498, allocations: 19.42 kB / 497.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1498, allocations: 0 / 497.4 MB, free: 1.75 MB / 330.7 MB Notification: Performance of Templates: time 0.005135/0.1549, allocations: 1.652 MB / 499.1 MB, free: 104 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches