Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002442/0.002442, 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.103/2.103, 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.001133/0.001133, allocations: 80.48 kB / 270.9 MB, free: 8.379 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.5189/0.5189, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004937, allocations: 15.98 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1316, allocations: 58.84 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00272/0.1344, allocations: 1.309 MB / 491.5 MB, free: 9.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1364, allocations: 0.883 MB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.1365, allocations: 4 kB / 492.4 MB, free: 8.797 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.1367, allocations: 15.91 kB / 492.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.137, allocations: 39.84 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.1376, allocations: 135.8 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.1378, allocations: 43.89 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1379, allocations: 23.81 kB / 492.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.138, allocations: 19.92 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.1381, allocations: 19.86 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.1382, allocations: 4 kB / 492.7 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.1383, allocations: 39.91 kB / 492.7 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.1384, allocations: 11.94 kB / 492.8 MB, free: 8.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.1385, allocations: 33.7 kB / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.1387, allocations: 76.09 kB / 492.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1387, allocations: 0 / 492.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1387, allocations: 0 / 492.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1387, allocations: 4 kB / 492.9 MB, free: 8.332 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.0006447/0.1394, allocations: 395 kB / 493.2 MB, free: 7.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1394, allocations: 16.02 kB / 493.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1395, allocations: 15.84 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1398, allocations: 183 kB / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.1398, allocations: 0 / 493.5 MB, free: 7.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.1398, allocations: 8 kB / 493.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.1401, allocations: 79.31 kB / 493.5 MB, free: 7.551 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1401, allocations: 8 kB / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1402, allocations: 0 / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1402, allocations: 0 / 493.6 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.1404, allocations: 47.92 kB / 493.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.1411, allocations: 320.7 kB / 493.9 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.1413, allocations: 54.48 kB / 494 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1413, allocations: 0 / 494 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1414, allocations: 38.56 kB / 494 MB, free: 7.023 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1414, allocations: 0 / 494 MB, free: 7.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001336/0.1427, allocations: 257.2 kB / 494.3 MB, free: 6.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.1428, allocations: 77.11 kB / 494.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.143, allocations: 145.5 kB / 494.5 MB, free: 6.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1431, allocations: 29.7 kB / 494.5 MB, free: 6.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.1432, allocations: 162.5 kB / 494.7 MB, free: 6.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1432, allocations: 27.56 kB / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.1432, allocations: 0 / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1434, allocations: 314.8 kB / 495 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.1436, allocations: 47.95 kB / 495 MB, free: 5.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.1439, allocations: 57.69 kB / 495.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.1441, allocations: 56.23 kB / 495.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1442, allocations: 0 / 495.2 MB, free: 5.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005528/0.1447, allocations: 141.6 kB / 495.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.1448, allocations: 11.95 kB / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1448, allocations: 0 / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1448, allocations: 0 / 495.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.145, allocations: 23.98 kB / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.145, allocations: 0 / 495.3 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.1452, allocations: 15.98 kB / 495.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.1452, allocations: 8 kB / 495.3 MB, free: 5.617 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.0001233/0.1454, allocations: 113.8 kB / 495.5 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.1454, allocations: 7.906 kB / 495.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.146, allocations: 162.2 kB / 495.6 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.146, allocations: 3.938 kB / 495.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1461, allocations: 0 / 495.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1461, allocations: 0 / 495.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009271/0.147, allocations: 430.4 kB / 496 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.147, allocations: 0 / 496 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1472, allocations: 27.94 kB / 496.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.1472, allocations: 0 / 496.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1473, allocations: 4 kB / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1473, allocations: 0 / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1473, allocations: 0 / 496.1 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005817/0.1479, allocations: 231.4 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.148, allocations: 93 kB / 496.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.148, allocations: 3.953 kB / 496.4 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1482, allocations: 19.98 kB / 496.4 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.1482, allocations: 16.2 kB / 496.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1483, allocations: 0 / 496.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.1484, allocations: 103.3 kB / 496.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1484, allocations: 0 / 496.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.1488, allocations: 31.98 kB / 496.6 MB, free: 4.293 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.001313/0.1501, allocations: 455.3 kB / 497 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.1507, allocations: 107.9 kB / 497.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1507, allocations: 0 / 497.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.151, allocations: 63.89 kB / 497.2 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1514, allocations: 8 kB / 497.2 MB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.152, allocations: 243 kB / 497.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1524, allocations: 0.7043 MB / 498.1 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.1525, allocations: 15.42 kB / 498.1 MB, free: 2.703 MB / 378.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1525, allocations: 4 kB / 498.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of Templates: time 0.005878/0.1584, allocations: 1.879 MB / 0.4883 GB, free: 0.8203 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches