Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009682/0.0009682, allocations: 175.3 kB / 16.72 MB, free: 5.082 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.247/1.247, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007376/0.0007376, allocations: 94.41 kB / 271.2 MB, free: 8.234 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.34/0.34, allocations: 43.57 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004074, allocations: 20 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 58.86 MB / 490.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.001915/0.1278, allocations: 1.266 MB / 492.1 MB, free: 9.594 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.1284, allocations: 303.8 kB / 492.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.1284, allocations: 4 kB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.129, allocations: 447.2 kB / 492.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1293, allocations: 239.5 kB / 493.1 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.1296, allocations: 135.8 kB / 493.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.1299, allocations: 123.7 kB / 493.3 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.13, allocations: 19.97 kB / 493.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1301, allocations: 103.7 kB / 493.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1303, allocations: 159.8 kB / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1303, allocations: 0 / 493.6 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.057e-05/0.1304, allocations: 27.92 kB / 493.6 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.1305, allocations: 83.73 kB / 493.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.1306, allocations: 112.9 kB / 493.8 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.1308, allocations: 163.8 kB / 494 MB, free: 7.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1308, allocations: 0 / 494 MB, free: 7.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1308, allocations: 7.938 kB / 494 MB, free: 7.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1308, allocations: 0 / 494 MB, free: 7.691 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006416/0.1315, allocations: 0.5874 MB / 494.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1315, allocations: 8.031 kB / 494.6 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.1316, allocations: 40.47 kB / 494.6 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.1318, allocations: 296.1 kB / 494.9 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.1318, allocations: 384 / 494.9 MB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.1319, allocations: 4.375 kB / 494.9 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.132, allocations: 65.8 kB / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.132, allocations: 0 / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.132, allocations: 0 / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.132, allocations: 0 / 495 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.275e-05/0.1321, allocations: 31.92 kB / 495 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.1326, allocations: 384.8 kB / 495.4 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.1327, allocations: 34.56 kB / 495.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/0.1328, allocations: 16.91 kB / 495.4 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1328, allocations: 3.938 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1328, allocations: 38.5 kB / 495.5 MB, free: 6.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1328, allocations: 4 kB / 495.5 MB, free: 6.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002578/0.1331, allocations: 105.1 kB / 495.6 MB, free: 5.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.1331, allocations: 55.41 kB / 495.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.1339, allocations: 0.8574 MB / 496.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.134, allocations: 25.7 kB / 496.5 MB, free: 4.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1341, allocations: 220.2 kB / 496.7 MB, free: 4.738 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1341, allocations: 7.906 kB / 496.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.1341, allocations: 0 / 496.7 MB, free: 4.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1343, allocations: 366.7 kB / 497.1 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.1343, allocations: 12 kB / 497.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.1344, allocations: 15.92 kB / 497.1 MB, free: 4.336 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.1345, allocations: 32.91 kB / 497.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1345, allocations: 0 / 497.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001391/0.1346, allocations: 89.22 kB / 497.2 MB, free: 4.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1347, allocations: 4 kB / 497.3 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1347, allocations: 3.938 kB / 497.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1347, allocations: 7.984 kB / 497.3 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.1347, allocations: 8.031 kB / 497.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1348, allocations: 0 / 497.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1348, allocations: 7.906 kB / 497.3 MB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1348, allocations: 4 kB / 497.3 MB, free: 4.172 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 (2): * Single equations (assignments): 2 * 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.000174/0.135, allocations: 221.6 kB / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.1351, allocations: 39.52 kB / 497.5 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.1353, allocations: 112.6 kB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1353, allocations: 0 / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1353, allocations: 4 kB / 497.7 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1353, allocations: 0 / 497.7 MB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1356, allocations: 281.5 kB / 497.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1356, allocations: 0 / 497.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.1357, allocations: 7.984 kB / 497.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1357, allocations: 4 kB / 497.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.1357, allocations: 0 / 497.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1357, allocations: 0 / 497.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1357, allocations: 4.031 kB / 497.9 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.1359, allocations: 194.9 kB / 498.1 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.136, allocations: 116.6 kB / 498.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.136, allocations: 0 / 498.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.1361, allocations: 4 kB / 498.2 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1361, allocations: 4.031 kB / 498.3 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1361, allocations: 3.984 kB / 498.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005637/0.1367, allocations: 0.651 MB / 498.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1367, allocations: 0 / 498.9 MB, free: 2.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.1369, allocations: 23.91 kB / 498.9 MB, free: 2.422 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 (2): * Single equations (assignments): 2 * 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.0007057/0.1376, allocations: 359.7 kB / 499.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1378, allocations: 27.98 kB / 499.3 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.1378, allocations: 0 / 499.3 MB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.295e-05/0.1378, allocations: 15.92 kB / 499.3 MB, free: 2.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.1382, allocations: 34.02 kB / 499.4 MB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1392, allocations: 0.8305 MB / 0.4885 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1396, allocations: 0.8185 MB / 0.4893 GB, free: 328 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1397, allocations: 11.44 kB / 0.4893 GB, free: 316 kB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1397, allocations: 0 / 0.4893 GB, free: 316 kB / 378.7 MB Notification: Performance of Templates: time 0.1771/0.3168, allocations: 3.373 MB / 0.4926 GB, free: 42.09 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches