Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 182.6 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.184/2.184, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001154/0.001153, allocations: 99.33 kB / 270.9 MB, free: 8.359 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.5336/0.5336, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000651/0.0006512, allocations: 12 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1325, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.002545/0.1351, allocations: 1.305 MB / 491.5 MB, free: 9.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.136, allocations: 279.8 kB / 491.8 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.1361, allocations: 0 / 491.8 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.1363, allocations: 47.88 kB / 491.8 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1366, allocations: 47.86 kB / 491.9 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.137, allocations: 99.75 kB / 492 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1372, allocations: 43.89 kB / 492 MB, free: 9.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1373, allocations: 16.17 kB / 492 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.1374, allocations: 27.91 kB / 492.1 MB, free: 9.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.492e-05/0.1375, allocations: 23.91 kB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1376, allocations: 4 kB / 492.1 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1377, allocations: 23.88 kB / 492.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.1377, allocations: 19.97 kB / 492.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.1378, allocations: 33.64 kB / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.138, allocations: 63.89 kB / 492.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.138, allocations: 0 / 492.2 MB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.138, allocations: 4 kB / 492.2 MB, free: 8.938 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.138, allocations: 4 kB / 492.2 MB, free: 8.934 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.0006933/0.1387, allocations: 395.2 kB / 492.6 MB, free: 8.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1388, allocations: 16 kB / 492.6 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1389, allocations: 15.77 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.1391, allocations: 194.8 kB / 492.8 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1392, allocations: 4 kB / 492.9 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.1392, allocations: 7.984 kB / 492.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.1394, allocations: 57.69 kB / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1395, allocations: 0 / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1395, allocations: 7.938 kB / 492.9 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1395, allocations: 0 / 492.9 MB, free: 8.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.1398, allocations: 55.78 kB / 493 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.1403, allocations: 288.9 kB / 493.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1405, allocations: 42.56 kB / 493.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1405, allocations: 0 / 493.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.1406, allocations: 38.56 kB / 493.3 MB, free: 7.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1406, allocations: 0 / 493.3 MB, free: 7.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001227/0.1418, allocations: 249.2 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1419, allocations: 59.41 kB / 493.6 MB, free: 7.352 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1422, allocations: 186.2 kB / 493.8 MB, free: 7.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.1422, allocations: 25.7 kB / 493.8 MB, free: 7.129 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1423, allocations: 166.5 kB / 494 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1424, allocations: 23.64 kB / 494 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.1424, allocations: 4 kB / 494 MB, free: 6.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1426, allocations: 310.8 kB / 494.3 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.1428, allocations: 43.97 kB / 494.4 MB, free: 6.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.143, allocations: 39.97 kB / 494.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.1433, allocations: 39.98 kB / 494.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1433, allocations: 0 / 494.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005058/0.1438, allocations: 121.6 kB / 494.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.1438, allocations: 7.953 kB / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1438, allocations: 320 / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1439, allocations: 0 / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1441, allocations: 27.92 kB / 494.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1441, allocations: 0 / 494.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1442, allocations: 19.98 kB / 494.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1443, allocations: 7.984 kB / 494.6 MB, free: 6.316 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 (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.0001422/0.1444, allocations: 121.8 kB / 494.8 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.1445, allocations: 7.906 kB / 494.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005607/0.145, allocations: 150.3 kB / 494.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1451, allocations: 4.281 kB / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1451, allocations: 0 / 494.9 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1451, allocations: 3.984 kB / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000868/0.146, allocations: 410.4 kB / 495.3 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.146, allocations: 3.984 kB / 495.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.1462, allocations: 35.94 kB / 495.4 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1462, allocations: 3.938 kB / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1462, allocations: 0 / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.1463, allocations: 4 kB / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1463, allocations: 0 / 495.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.1468, allocations: 223.3 kB / 495.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.053e-05/0.1469, allocations: 92.94 kB / 495.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.147, allocations: 7.953 kB / 495.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1471, allocations: 15.98 kB / 495.7 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.1472, allocations: 4 kB / 495.7 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.1472, allocations: 4 kB / 495.7 MB, free: 5.145 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1474, allocations: 143.9 kB / 495.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1474, allocations: 0 / 495.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.1478, allocations: 16 kB / 495.9 MB, free: 4.988 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 (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.001208/0.149, allocations: 401 kB / 496.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005272/0.1496, allocations: 99.86 kB / 496.4 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1496, allocations: 0 / 496.4 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002351/0.1498, allocations: 55.97 kB / 496.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1502, allocations: 15.92 kB / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.1509, allocations: 266.8 kB / 496.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.1513, allocations: 0.7121 MB / 497.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.1514, allocations: 15.44 kB / 497.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1514, allocations: 0 / 497.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of Templates: time 0.005133/0.1565, allocations: 1.634 MB / 499.1 MB, free: 1.789 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches