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.001214/0.001214, allocations: 177.9 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, 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.0008346/0.0008346, allocations: 90.3 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.4308/0.4308, allocations: 43.55 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004397, allocations: 16 kB / 431.4 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1326, allocations: 58.84 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002258/0.1349, allocations: 1.309 MB / 491.5 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006248/0.1356, allocations: 299.8 kB / 491.8 MB, free: 9.605 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.1357, allocations: 8 kB / 491.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.1363, allocations: 439.2 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1366, allocations: 239.5 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.137, allocations: 103.8 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.1373, allocations: 123.7 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1374, allocations: 12.17 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.1376, allocations: 99.8 kB / 492.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1378, allocations: 163.7 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1379, allocations: 0 / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.138, allocations: 31.97 kB / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1381, allocations: 83.69 kB / 493.1 MB, free: 8.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.1382, allocations: 65.52 kB / 493.2 MB, free: 8.258 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.1384, allocations: 179.8 kB / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1384, allocations: 0 / 493.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1384, allocations: 3.938 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1385, allocations: 0 / 493.4 MB, free: 8.078 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.0007657/0.1392, allocations: 0.5952 MB / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1393, allocations: 12.02 kB / 494 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.1394, allocations: 43.39 kB / 494 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1397, allocations: 271.3 kB / 494.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.1397, allocations: 4 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1397, allocations: 0 / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1399, allocations: 53.69 kB / 494.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1399, allocations: 0 / 494.3 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.1399, allocations: 4 kB / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1399, allocations: 0 / 494.3 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.14, allocations: 35.92 kB / 494.4 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1406, allocations: 384.6 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.1408, allocations: 46.56 kB / 494.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.1409, allocations: 16.86 kB / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.1409, allocations: 0 / 494.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.1409, allocations: 34.52 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1409, allocations: 0 / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006737/0.1416, allocations: 240.3 kB / 495.1 MB, free: 6.188 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.1417, allocations: 59.39 kB / 495.1 MB, free: 6.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/0.1425, allocations: 0.8534 MB / 496 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1425, allocations: 29.7 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1427, allocations: 224.1 kB / 496.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1428, allocations: 15.72 kB / 496.2 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.1428, allocations: 3.938 kB / 496.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1429, allocations: 366.7 kB / 496.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.143, allocations: 19.98 kB / 496.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.608e-05/0.1431, allocations: 28.05 kB / 496.7 MB, free: 4.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.1432, allocations: 28.06 kB / 496.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1432, allocations: 0 / 496.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002419/0.1434, allocations: 125.2 kB / 496.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1435, allocations: 7.953 kB / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1435, allocations: 0 / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1435, allocations: 0 / 496.8 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.1435, allocations: 12 kB / 496.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1436, allocations: 3.984 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.1436, allocations: 11.98 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.1436, allocations: 0 / 496.8 MB, free: 4.371 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.0001998/0.1438, allocations: 217.7 kB / 497 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.1439, allocations: 47.42 kB / 497.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.1442, allocations: 137 kB / 497.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1442, allocations: 0 / 497.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1442, allocations: 0 / 497.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1443, allocations: 4 kB / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.1448, allocations: 462.4 kB / 497.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.1448, allocations: 3.953 kB / 497.7 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.1449, allocations: 15.98 kB / 497.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1449, allocations: 4 kB / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1449, allocations: 0 / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1449, allocations: 0 / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1449, allocations: 192 / 497.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1452, allocations: 222.9 kB / 497.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.1453, allocations: 120.6 kB / 498 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1454, allocations: 0 / 498 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.1454, allocations: 8 kB / 498.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1455, allocations: 3.984 kB / 498.1 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.1455, allocations: 4 kB / 498.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006273/0.1461, allocations: 0.6472 MB / 498.7 MB, free: 2.391 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1461, allocations: 0 / 498.7 MB, free: 2.391 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002403/0.1464, allocations: 24 kB / 498.7 MB, free: 2.367 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.000892/0.1473, allocations: 412.3 kB / 499.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1475, allocations: 51.97 kB / 499.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1475, allocations: 0 / 499.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.1476, allocations: 35.92 kB / 499.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.148, allocations: 25.95 kB / 499.2 MB, free: 1.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1492, allocations: 0.8506 MB / 0.4884 GB, free: 1.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.1496, allocations: 0.8185 MB / 0.4892 GB, free: 168 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1497, allocations: 11.44 kB / 0.4892 GB, free: 160 kB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1497, allocations: 4 kB / 0.4892 GB, free: 156 kB / 378.7 MB Notification: Performance of Templates: time 0.2036/0.3533, allocations: 3.583 MB / 0.4927 GB, free: 42.2 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/jenkins/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