Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00246/0.002459, allocations: 183.7 kB / 16.4 MB, free: 5.754 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.026/2.026, 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.001163/0.001163, allocations: 93.48 kB / 270.9 MB, free: 8.355 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.5739/0.5739, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.000512, allocations: 11.94 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1258, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002596/0.1285, allocations: 1.305 MB / 491.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.1299, allocations: 279.8 kB / 491.8 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.282e-05/0.13, allocations: 4 kB / 491.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.1311, allocations: 435.2 kB / 492.2 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006489/0.1318, allocations: 235.5 kB / 492.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/0.1327, allocations: 107.7 kB / 492.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.1331, allocations: 111.8 kB / 492.7 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1333, allocations: 8.188 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002371/0.1335, allocations: 103.8 kB / 492.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000502/0.134, allocations: 147.7 kB / 492.9 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.1341, allocations: 4 kB / 492.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1343, allocations: 19.94 kB / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.1345, allocations: 79.69 kB / 493 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.756e-05/0.1346, allocations: 69.52 kB / 493.1 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.1351, allocations: 179.8 kB / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1351, allocations: 0 / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1351, allocations: 0 / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1352, allocations: 0 / 493.3 MB, free: 7.926 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001344/0.1365, allocations: 0.6106 MB / 493.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.1366, allocations: 12.02 kB / 493.9 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1367, allocations: 39.48 kB / 493.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.1373, allocations: 275.3 kB / 494.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1374, allocations: 0 / 494.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.1374, allocations: 7.938 kB / 494.2 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.1377, allocations: 53.67 kB / 494.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1378, allocations: 0 / 494.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1378, allocations: 4 kB / 494.3 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.1378, allocations: 4 kB / 494.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.1381, allocations: 35.86 kB / 494.3 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.139, allocations: 380.7 kB / 494.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.1394, allocations: 50.5 kB / 494.7 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.1395, allocations: 4 kB / 494.7 MB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.284e-05/0.1396, allocations: 38.58 kB / 494.8 MB, free: 6.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.887e-06/0.1396, allocations: 0 / 494.8 MB, free: 6.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001425/0.141, allocations: 239.9 kB / 495 MB, free: 6.023 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1411, allocations: 55.34 kB / 495 MB, free: 5.957 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/0.1432, allocations: 0.8652 MB / 495.9 MB, free: 5.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.1433, allocations: 25.7 kB / 495.9 MB, free: 5.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.1436, allocations: 238.6 kB / 496.2 MB, free: 4.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.1437, allocations: 23.75 kB / 496.2 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.1437, allocations: 0 / 496.2 MB, free: 4.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1439, allocations: 314.8 kB / 496.5 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.1442, allocations: 23.98 kB / 496.5 MB, free: 4.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.1444, allocations: 19.98 kB / 496.5 MB, free: 4.434 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.1447, allocations: 28.17 kB / 496.6 MB, free: 4.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.1447, allocations: 0 / 496.6 MB, free: 4.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005117/0.1452, allocations: 85.67 kB / 496.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.1453, allocations: 7.953 kB / 496.7 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.1453, allocations: 0 / 496.7 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1453, allocations: 8 kB / 496.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.1455, allocations: 19.92 kB / 496.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1456, allocations: 0 / 496.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.1458, allocations: 4 kB / 496.7 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.1458, allocations: 0 / 496.7 MB, free: 4.277 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 (5): * Single equations (assignments): 5 * 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.0004569/0.1463, allocations: 213.8 kB / 496.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.1464, allocations: 43.44 kB / 496.9 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007201/0.1472, allocations: 141 kB / 497.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.1472, allocations: 288 / 497.1 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.1473, allocations: 4 kB / 497.1 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1473, allocations: 3.984 kB / 497.1 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1485, allocations: 474.3 kB / 497.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1486, allocations: 0 / 497.6 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.1487, allocations: 15.95 kB / 497.6 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.1487, allocations: 3.984 kB / 497.6 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1488, allocations: 4 kB / 497.6 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1488, allocations: 7.875 kB / 497.6 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1488, allocations: 4 kB / 497.6 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.1494, allocations: 215.2 kB / 497.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.1496, allocations: 116.5 kB / 497.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1497, allocations: 7.953 kB / 497.9 MB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.1499, allocations: 12 kB / 497.9 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.15, allocations: 3.984 kB / 497.9 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.1501, allocations: 4 kB / 497.9 MB, free: 2.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.1516, allocations: 0.6511 MB / 498.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.1517, allocations: 0 / 498.6 MB, free: 2.273 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006447/0.1523, allocations: 20 kB / 498.6 MB, free: 2.254 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 (5): * Single equations (assignments): 5 * 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.001884/0.1542, allocations: 400.8 kB / 499 MB, free: 1.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00054/0.1548, allocations: 59.84 kB / 499.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.1549, allocations: 0 / 499.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.1551, allocations: 32.11 kB / 499.1 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.1557, allocations: 25.95 kB / 499.1 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.1584, allocations: 0.8585 MB / 500 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/0.1592, allocations: 0.8301 MB / 0.4891 GB, free: 40 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.1594, allocations: 15.44 kB / 0.4891 GB, free: 24 kB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1594, allocations: 0 / 0.4891 GB, free: 24 kB / 378.7 MB Notification: Performance of Templates: time 0.451/0.6104, allocations: 3.639 MB / 0.4926 GB, free: 42.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches