Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") translateModel(ModelicaTest.Tables.CombiTable2D.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 182.6 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 1.994/1.994, 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.001104/0.001104, allocations: 98.08 kB / 270.9 MB, free: 8.367 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.5327/0.5327, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004634/0.0004634, allocations: 12 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.002697/0.1316, allocations: 1.319 MB / 491.5 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1328, allocations: 0.6331 MB / 492.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.1328, allocations: 4 kB / 492.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.1331, allocations: 23.84 kB / 492.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.1333, allocations: 23.97 kB / 492.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.728e-06/0.1333, allocations: 0 / 492.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1335, allocations: 35.89 kB / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.1335, allocations: 0 / 492.2 MB, free: 9.195 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.151e-05/0.1336, allocations: 8 kB / 492.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.1337, allocations: 15.86 kB / 492.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1337, allocations: 4 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.006e-05/0.1337, allocations: 4 kB / 492.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.1338, allocations: 15.94 kB / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.1338, allocations: 37.62 kB / 492.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.134, allocations: 52.14 kB / 492.4 MB, free: 9.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.134, allocations: 4 kB / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.134, allocations: 0 / 492.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.134, allocations: 0 / 492.4 MB, free: 9.051 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004086/0.1344, allocations: 359.1 kB / 492.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1345, allocations: 12.03 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.1345, allocations: 3.906 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1347, allocations: 171 kB / 492.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1348, allocations: 0 / 492.9 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1348, allocations: 4 kB / 492.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.135, allocations: 130.7 kB / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1351, allocations: 0 / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1351, allocations: 0 / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/0.1352, allocations: 27.92 kB / 493.1 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1353, allocations: 43.88 kB / 493.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008324/0.1362, allocations: 0.8983 MB / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1363, allocations: 169.1 kB / 494.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.1363, allocations: 75.28 kB / 494.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.1364, allocations: 109.8 kB / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.1364, allocations: 0 / 494.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.857e-05/0.1365, allocations: 37.64 kB / 494.4 MB, free: 6.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.1366, allocations: 130.7 kB / 494.5 MB, free: 6.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.1369, allocations: 186.1 kB / 494.7 MB, free: 6.488 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1369, allocations: 29.64 kB / 494.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1371, allocations: 217.6 kB / 495 MB, free: 6.238 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.1371, allocations: 4 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.1371, allocations: 4 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1372, allocations: 314.8 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.1373, allocations: 31.97 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.1375, allocations: 161.1 kB / 495.5 MB, free: 5.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.1377, allocations: 63.92 kB / 495.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1377, allocations: 4 kB / 495.5 MB, free: 5.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004455/0.1382, allocations: 189.4 kB / 495.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1382, allocations: 11.95 kB / 495.7 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1382, allocations: 4 kB / 495.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.1383, allocations: 8 kB / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1385, allocations: 39.92 kB / 495.8 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/0.1385, allocations: 7.938 kB / 495.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1387, allocations: 31.67 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1387, allocations: 12.41 kB / 495.8 MB, free: 5.293 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001749/0.1389, allocations: 217 kB / 496 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.603e-05/0.139, allocations: 112.8 kB / 496.1 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-05/0.1391, allocations: 128.7 kB / 496.3 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/0.1392, allocations: 176.3 kB / 496.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001024/0.1393, allocations: 180.2 kB / 496.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-05/0.1394, allocations: 184.2 kB / 496.8 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003161/0.1397, allocations: 417.2 kB / 497.2 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.75e-05/0.1398, allocations: 108.9 kB / 497.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.917e-05/0.1398, allocations: 105 kB / 497.4 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-05/0.1399, allocations: 184.2 kB / 497.6 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-05/0.14, allocations: 180.3 kB / 497.8 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.519e-05/0.1401, allocations: 184.2 kB / 498 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.817e-05/0.1402, allocations: 180.2 kB / 498.1 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1404, allocations: 315.7 kB / 498.4 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1405, allocations: 190 kB / 498.6 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.1406, allocations: 180.3 kB / 498.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1407, allocations: 112.9 kB / 498.9 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.1408, allocations: 180.2 kB / 499.1 MB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.1409, allocations: 104.9 kB / 499.2 MB, free: 1.703 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001735/0.1411, allocations: 136 kB / 499.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1411, allocations: 0 / 499.3 MB, free: 1.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003974/0.1415, allocations: 16 kB / 499.3 MB, free: 1.555 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 (0): * Single equations (assignments): 0 * 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.0006243/0.1421, allocations: 284 kB / 499.6 MB, free: 1.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1424, allocations: 72.91 kB / 499.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1424, allocations: 0 / 499.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.1424, allocations: 0 / 499.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.1428, allocations: 0.5303 MB / 0.4885 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.1434, allocations: 312.4 kB / 0.4888 GB, free: 368 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3419/0.4853, allocations: 0.6993 MB / 0.4895 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4854, allocations: 16.91 kB / 0.4895 GB, free: 43.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4854, allocations: 0 / 0.4895 GB, free: 43.48 MB / 378.7 MB Notification: Performance of Templates: time 0.004311/0.4898, allocations: 1.243 MB / 0.4907 GB, free: 43.46 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches