Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") translateModel(ModelicaTest.Tables.CombiTable2D.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002492/0.002492, allocations: 183.9 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.149/2.149, 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.001178/0.001177, allocations: 97.48 kB / 270.9 MB, free: 8.352 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.5242/0.5242, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004827, allocations: 19.98 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1304, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.002923/0.1334, allocations: 1.52 MB / 491.7 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.135, allocations: 0.5188 MB / 492.3 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1352, allocations: 4 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.1358, allocations: 231.4 kB / 492.5 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.1363, allocations: 175.6 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.1379, allocations: 399.2 kB / 493 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.1383, allocations: 159.6 kB / 493.2 MB, free: 7.98 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.1385, allocations: 48.16 kB / 493.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.1387, allocations: 95.64 kB / 493.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.139, allocations: 139.5 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.1391, allocations: 0 / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1393, allocations: 35.92 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1394, allocations: 71.73 kB / 493.6 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.1395, allocations: 61.52 kB / 493.6 MB, free: 7.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1398, allocations: 191.9 kB / 493.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1399, allocations: 0 / 493.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1399, allocations: 0 / 493.8 MB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.1399, allocations: 0 / 493.8 MB, free: 7.344 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009488/0.1408, allocations: 0.5796 MB / 494.4 MB, free: 6.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1409, allocations: 8.031 kB / 494.4 MB, free: 6.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.045e-05/0.141, allocations: 39.48 kB / 494.5 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.1415, allocations: 301.2 kB / 494.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1415, allocations: 0 / 494.8 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1416, allocations: 8 kB / 494.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.1418, allocations: 85.39 kB / 494.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1419, allocations: 0 / 494.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.1419, allocations: 4 kB / 494.8 MB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1419, allocations: 8 kB / 494.9 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.1421, allocations: 51.92 kB / 494.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.143, allocations: 436.5 kB / 495.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1432, allocations: 66.5 kB / 495.4 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.1433, allocations: 3.938 kB / 495.4 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1433, allocations: 34.56 kB / 495.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.1433, allocations: 0 / 495.4 MB, free: 5.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004831/0.1438, allocations: 133.3 kB / 495.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.1439, allocations: 55.41 kB / 495.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009266/0.1448, allocations: 0.537 MB / 496.2 MB, free: 4.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1449, allocations: 29.7 kB / 496.2 MB, free: 4.789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.1451, allocations: 234.7 kB / 496.4 MB, free: 4.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1451, allocations: 15.72 kB / 496.4 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1451, allocations: 7.938 kB / 496.4 MB, free: 4.535 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1453, allocations: 310.8 kB / 496.7 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1454, allocations: 23.98 kB / 496.8 MB, free: 4.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.1455, allocations: 23.92 kB / 496.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1457, allocations: 23.98 kB / 496.8 MB, free: 4.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1457, allocations: 4 kB / 496.8 MB, free: 4.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002937/0.146, allocations: 77.64 kB / 496.9 MB, free: 4.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.146, allocations: 7.984 kB / 496.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.146, allocations: 4 kB / 496.9 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1461, allocations: 3.938 kB / 496.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1462, allocations: 16.44 kB / 496.9 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1462, allocations: 0 / 496.9 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1464, allocations: 7.938 kB / 496.9 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1464, allocations: 11.98 kB / 496.9 MB, free: 4.016 MB / 378.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 (6): * Single equations (assignments): 6 * 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.0002294/0.1467, allocations: 169.7 kB / 497.1 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.1468, allocations: 39.47 kB / 497.1 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.1472, allocations: 140.8 kB / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1472, allocations: 0 / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1472, allocations: 0 / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1472, allocations: 0 / 497.3 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1477, allocations: 281.5 kB / 497.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1477, allocations: 0 / 497.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1478, allocations: 16 kB / 497.6 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/0.1478, allocations: 4 kB / 497.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1479, allocations: 3.953 kB / 497.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.451e-06/0.1479, allocations: 3.984 kB / 497.6 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1479, allocations: 3.938 kB / 497.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.1483, allocations: 207.1 kB / 497.8 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1484, allocations: 124.7 kB / 497.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1485, allocations: 0 / 497.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.1486, allocations: 11.95 kB / 497.9 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.1487, allocations: 4 kB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1487, allocations: 0 / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000691/0.1494, allocations: 419 kB / 498.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1494, allocations: 0 / 498.3 MB, free: 2.523 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004087/0.1499, allocations: 39.84 kB / 498.4 MB, free: 2.484 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.001881/0.1517, allocations: 0.5792 MB / 499 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.1521, allocations: 55.91 kB / 499 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.1521, allocations: 0 / 499 MB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1523, allocations: 31.92 kB / 499 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006504/0.1529, allocations: 65.42 kB / 499.1 MB, free: 1.805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.1543, allocations: 0.6394 MB / 499.7 MB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.1549, allocations: 0.8024 MB / 0.4888 GB, free: 308 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.155, allocations: 27.42 kB / 0.4888 GB, free: 280 kB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.155, allocations: 0 / 0.4888 GB, free: 280 kB / 378.7 MB Notification: Performance of Templates: time 0.3106/0.4657, allocations: 3.693 MB / 0.4925 GB, free: 42.06 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches