Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001732/0.001731, allocations: 186.4 kB / 16.4 MB, free: 5.621 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.099/2.099, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001138/0.001138, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2969/0.2969, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004804, allocations: 16 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.13, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.0026/0.1327, allocations: 1.298 MB / 491.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008986/0.1337, allocations: 303.8 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.1337, allocations: 0 / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.1346, allocations: 439.2 kB / 492.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.135, allocations: 247.5 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.1357, allocations: 127.8 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002567/0.1359, allocations: 111.8 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1361, allocations: 20.17 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1362, allocations: 103.8 kB / 492.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1365, allocations: 139.7 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1365, allocations: 4 kB / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1367, allocations: 27.92 kB / 493 MB, free: 6.531 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.1368, allocations: 83.69 kB / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.1369, allocations: 65.52 kB / 493.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.1372, allocations: 184 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1372, allocations: 0 / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1372, allocations: 0 / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1373, allocations: 4 kB / 493.3 MB, free: 6.195 MB / 330.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.000918/0.1382, allocations: 0.6026 MB / 493.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.1382, allocations: 12.02 kB / 494 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.028e-05/0.1383, allocations: 43.44 kB / 494 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.1387, allocations: 275.4 kB / 494.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1387, allocations: 0 / 494.3 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1388, allocations: 4 kB / 494.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.139, allocations: 61.66 kB / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.139, allocations: 0 / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.139, allocations: 0 / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1391, allocations: 0 / 494.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.1392, allocations: 43.91 kB / 494.4 MB, free: 5.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.1399, allocations: 396.7 kB / 494.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.1402, allocations: 46.56 kB / 494.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.1402, allocations: 4 kB / 494.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1403, allocations: 38.5 kB / 494.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.1403, allocations: 3.938 kB / 494.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000902/0.1412, allocations: 252 kB / 495.1 MB, free: 4.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.1413, allocations: 55.34 kB / 495.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.1426, allocations: 0.8652 MB / 496 MB, free: 3.324 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1426, allocations: 25.7 kB / 496 MB, free: 3.293 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1429, allocations: 246.5 kB / 496.3 MB, free: 3.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1429, allocations: 19.73 kB / 496.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.1429, allocations: 0 / 496.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1431, allocations: 318.8 kB / 496.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1432, allocations: 19.98 kB / 496.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1433, allocations: 23.98 kB / 496.7 MB, free: 2.668 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1435, allocations: 39.97 kB / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1435, allocations: 0 / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003229/0.1438, allocations: 81.86 kB / 496.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1439, allocations: 11.44 kB / 496.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1439, allocations: 64 / 496.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1439, allocations: 7.953 kB / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.144, allocations: 23.92 kB / 496.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1441, allocations: 3.938 kB / 496.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1442, allocations: 4 kB / 496.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1442, allocations: 4 kB / 496.8 MB, free: 2.492 MB / 330.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 (5): * Single equations (assignments): 5 * 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.0002993/0.1445, allocations: 213.8 kB / 497 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.799e-05/0.1446, allocations: 43.44 kB / 497.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.1451, allocations: 149.1 kB / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1451, allocations: 0 / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.1451, allocations: 3.953 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1451, allocations: 0 / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.1459, allocations: 482.5 kB / 497.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1459, allocations: 0 / 497.7 MB, free: 1.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1461, allocations: 15.98 kB / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1461, allocations: 0 / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1461, allocations: 7.953 kB / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1461, allocations: 0 / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1461, allocations: 0 / 497.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.1466, allocations: 231.2 kB / 498 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1467, allocations: 116.5 kB / 498.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.1467, allocations: 4.172 kB / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.1469, allocations: 11.95 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.147, allocations: 15.98 kB / 498.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.147, allocations: 0 / 498.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009907/0.148, allocations: 0.655 MB / 498.8 MB, free: 476 kB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.148, allocations: 0 / 498.8 MB, free: 476 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003501/0.1484, allocations: 27.94 kB / 498.8 MB, free: 448 kB / 330.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 (5): * Single equations (assignments): 5 * 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.001157/0.1495, allocations: 387.9 kB / 499.2 MB, free: 104 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.1499, allocations: 63.91 kB / 499.2 MB, free: 40 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1499, allocations: 0 / 499.2 MB, free: 40 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.15, allocations: 31.98 kB / 499.3 MB, free: 8 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1504, allocations: 22.38 kB / 499.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1522, allocations: 0.8707 MB / 0.4884 GB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005688/0.1527, allocations: 0.8301 MB / 0.4892 GB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.1528, allocations: 23.36 kB / 0.4893 GB, free: 14.2 MB / 346.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1528, allocations: 0 / 0.4893 GB, free: 14.2 MB / 346.7 MB Notification: Performance of Templates: time 0.01044/0.1633, allocations: 3.716 MB / 0.4929 GB, free: 10.48 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches