Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002439/0.002438, allocations: 182.1 kB / 16.4 MB, free: 5.746 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.088/2.088, 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.001183/0.001182, allocations: 89.5 kB / 270.9 MB, free: 8.363 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.5775/0.5775, allocations: 43.54 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.00048, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1283, allocations: 58.86 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002516/0.1309, allocations: 1.301 MB / 491.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1329, allocations: 0.883 MB / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.133, allocations: 0 / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1332, allocations: 19.92 kB / 492.4 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.1335, allocations: 31.84 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006293/0.1341, allocations: 139.8 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.1343, allocations: 43.88 kB / 492.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.1345, allocations: 27.81 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.1345, allocations: 19.94 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1347, allocations: 23.84 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1347, allocations: 4 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1349, allocations: 35.92 kB / 492.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.135, allocations: 11.92 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.135, allocations: 33.7 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1352, allocations: 80.09 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1352, allocations: 0 / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1353, allocations: 0 / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1353, allocations: 0 / 492.9 MB, free: 8.551 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.000708/0.136, allocations: 395 kB / 493.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.1361, allocations: 12.02 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.104e-05/0.1361, allocations: 11.86 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1364, allocations: 190.7 kB / 493.5 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1364, allocations: 3.938 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.1365, allocations: 4 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.1368, allocations: 83.31 kB / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1368, allocations: 0 / 493.5 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1368, allocations: 4 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1368, allocations: 4 kB / 493.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.1371, allocations: 47.91 kB / 493.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.1378, allocations: 316.7 kB / 493.9 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.138, allocations: 58.48 kB / 494 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.138, allocations: 0 / 494 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1381, allocations: 34.56 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1381, allocations: 3.938 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001324/0.1394, allocations: 261.2 kB / 494.3 MB, free: 6.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.887e-05/0.1395, allocations: 81.11 kB / 494.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1398, allocations: 137.6 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.1398, allocations: 25.7 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.1399, allocations: 166.5 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.14, allocations: 23.61 kB / 494.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.14, allocations: 4 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1401, allocations: 314.8 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.1404, allocations: 43.97 kB / 495 MB, free: 6.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.1406, allocations: 69.73 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.1409, allocations: 43.97 kB / 495.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1409, allocations: 4 kB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005422/0.1414, allocations: 129.6 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.1415, allocations: 11.94 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1415, allocations: 4 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1415, allocations: 0 / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1418, allocations: 27.98 kB / 495.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1418, allocations: 0 / 495.3 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.1419, allocations: 15.98 kB / 495.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.1419, allocations: 0 / 495.3 MB, free: 5.848 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.0001258/0.1421, allocations: 117.8 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.1421, allocations: 7.906 kB / 495.5 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006192/0.1428, allocations: 158.2 kB / 495.6 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.1428, allocations: 4 kB / 495.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1428, allocations: 7.938 kB / 495.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1428, allocations: 0 / 495.6 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009664/0.1438, allocations: 434.4 kB / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1438, allocations: 0 / 496.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.144, allocations: 27.94 kB / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.144, allocations: 0 / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.144, allocations: 0 / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1441, allocations: 0 / 496.1 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1441, allocations: 4.469 kB / 496.1 MB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.1447, allocations: 239.4 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.473e-05/0.1448, allocations: 89.28 kB / 496.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1448, allocations: 11.95 kB / 496.4 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.145, allocations: 15.98 kB / 496.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.1451, allocations: 0 / 496.4 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1451, allocations: 11.92 kB / 496.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.1452, allocations: 111.2 kB / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1452, allocations: 0 / 496.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000373/0.1456, allocations: 27.94 kB / 496.6 MB, free: 4.5 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.0013/0.1469, allocations: 439.7 kB / 497 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005888/0.1476, allocations: 111.9 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.1476, allocations: 0 / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.1479, allocations: 55.91 kB / 497.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1482, allocations: 19.92 kB / 497.2 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.1488, allocations: 239 kB / 497.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1492, allocations: 0.7004 MB / 498.1 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.674e-05/0.1493, allocations: 19.42 kB / 498.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of SimCode: time 1.163e-06/0.1493, allocations: 0 / 498.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of Templates: time 0.005622/0.1549, allocations: 1.867 MB / 0.4883 GB, free: 1.047 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches