Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.001654, allocations: 184.1 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.156/2.156, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001247/0.001247, allocations: 99.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.5136/0.5136, allocations: 43.56 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.0006352, allocations: 12 kB / 431.4 MB, free: 5.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 58.86 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002542/0.1303, allocations: 1.309 MB / 491.5 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1322, allocations: 0.8791 MB / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.1323, allocations: 0 / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1325, allocations: 15.92 kB / 492.4 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.1327, allocations: 47.83 kB / 492.5 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.1333, allocations: 127.8 kB / 492.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1335, allocations: 47.88 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1336, allocations: 23.83 kB / 492.7 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.1337, allocations: 11.94 kB / 492.7 MB, free: 8.547 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1339, allocations: 31.64 kB / 492.7 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1339, allocations: 4 kB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.134, allocations: 31.92 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.1341, allocations: 15.92 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.844e-05/0.1341, allocations: 37.64 kB / 492.8 MB, free: 8.426 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1343, allocations: 72.16 kB / 492.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.1344, allocations: 0 / 492.9 MB, free: 8.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1344, allocations: 4 kB / 492.9 MB, free: 8.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1344, allocations: 0 / 492.9 MB, free: 8.352 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.0006136/0.135, allocations: 395 kB / 493.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1351, allocations: 16.02 kB / 493.3 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.1351, allocations: 7.859 kB / 493.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1354, allocations: 187 kB / 493.5 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1354, allocations: 4 kB / 493.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1355, allocations: 8 kB / 493.5 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000273/0.1357, allocations: 83.25 kB / 493.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1358, allocations: 0 / 493.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1358, allocations: 4 kB / 493.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1358, allocations: 0 / 493.5 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.1361, allocations: 55.91 kB / 493.6 MB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005833/0.1367, allocations: 304.7 kB / 493.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1369, allocations: 62.48 kB / 494 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.1369, allocations: 0 / 494 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.137, allocations: 34.56 kB / 494 MB, free: 7.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.137, allocations: 0 / 494 MB, free: 7.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00132/0.1383, allocations: 261.2 kB / 494.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1384, allocations: 77.19 kB / 494.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1386, allocations: 141.3 kB / 494.5 MB, free: 6.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1386, allocations: 29.7 kB / 494.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.1387, allocations: 162.5 kB / 494.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.1388, allocations: 27.61 kB / 494.7 MB, free: 6.324 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.1388, allocations: 4 kB / 494.7 MB, free: 6.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.139, allocations: 314.8 kB / 495 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.1392, allocations: 39.97 kB / 495 MB, free: 5.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.1395, allocations: 65.67 kB / 495.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1397, allocations: 51.97 kB / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1397, allocations: 0 / 495.1 MB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005293/0.1403, allocations: 129.6 kB / 495.3 MB, free: 5.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.1403, allocations: 11.95 kB / 495.3 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1403, allocations: 3.984 kB / 495.3 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1403, allocations: 4 kB / 495.3 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1406, allocations: 23.98 kB / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1406, allocations: 0 / 495.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1407, allocations: 11.98 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1407, allocations: 8 kB / 495.3 MB, free: 5.648 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.0001287/0.1409, allocations: 117.8 kB / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.1409, allocations: 7.906 kB / 495.5 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.1416, allocations: 174.5 kB / 495.6 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1416, allocations: 3.938 kB / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1416, allocations: 0 / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1416, allocations: 288 / 495.6 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.1426, allocations: 422.4 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.1426, allocations: 4 kB / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1428, allocations: 23.94 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1428, allocations: 0 / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1428, allocations: 3.984 kB / 496.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1429, allocations: 4 kB / 496.1 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1429, allocations: 7.938 kB / 496.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.1435, allocations: 235.4 kB / 496.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.035e-05/0.1436, allocations: 93 kB / 496.4 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.1436, allocations: 3.953 kB / 496.4 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1438, allocations: 19.98 kB / 496.4 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.463e-05/0.1439, allocations: 7.938 kB / 496.4 MB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.1439, allocations: 0 / 496.4 MB, free: 4.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.144, allocations: 107.2 kB / 496.5 MB, free: 4.336 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.144, allocations: 4 kB / 496.5 MB, free: 4.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.1444, allocations: 28 kB / 496.6 MB, free: 4.305 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.001365/0.1458, allocations: 444.4 kB / 497 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005535/0.1464, allocations: 107.9 kB / 497.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1464, allocations: 0 / 497.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.1467, allocations: 63.91 kB / 497.2 MB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.147, allocations: 7.984 kB / 497.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.1476, allocations: 243 kB / 497.4 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.148, allocations: 0.7043 MB / 498.1 MB, free: 2.734 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.1481, allocations: 11.44 kB / 498.1 MB, free: 2.723 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1481, allocations: 0 / 498.1 MB, free: 2.723 MB / 378.7 MB Notification: Performance of Templates: time 0.005506/0.1536, allocations: 1.879 MB / 0.4883 GB, free: 0.8438 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches