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.001425/0.001425, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.813/1.813, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0009874/0.0009876, allocations: 97.27 kB / 270.9 MB, free: 8.344 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.4134/0.4134, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004425, allocations: 16 kB / 431.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 58.85 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002214/0.1448, allocations: 1.297 MB / 491.5 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006823/0.1455, allocations: 327.8 kB / 491.9 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.1456, allocations: 0 / 491.9 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.1462, allocations: 439.2 kB / 492.3 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.1465, allocations: 239.5 kB / 492.5 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.1469, allocations: 147.7 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1472, allocations: 131.7 kB / 492.8 MB, free: 8.395 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1473, allocations: 20.11 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1475, allocations: 103.8 kB / 492.9 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.1477, allocations: 163.7 kB / 493.1 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1478, allocations: 4 kB / 493.1 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.243e-05/0.1479, allocations: 27.92 kB / 493.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.148, allocations: 83.75 kB / 493.2 MB, free: 8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.1481, allocations: 61.52 kB / 493.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1483, allocations: 179.8 kB / 493.4 MB, free: 7.758 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1483, allocations: 4 kB / 493.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1483, allocations: 3.938 kB / 493.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1484, allocations: 3.938 kB / 493.4 MB, free: 7.746 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.0008129/0.1492, allocations: 0.5951 MB / 494 MB, free: 7.102 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.1492, allocations: 16 kB / 494 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/0.1493, allocations: 39.48 kB / 494.1 MB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.1497, allocations: 275.3 kB / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1497, allocations: 0 / 494.4 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.1497, allocations: 8 kB / 494.4 MB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.1499, allocations: 53.69 kB / 494.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1499, allocations: 0 / 494.4 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1499, allocations: 4 kB / 494.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1499, allocations: 0 / 494.4 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1501, allocations: 39.86 kB / 494.5 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.1507, allocations: 396.8 kB / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1509, allocations: 50.5 kB / 494.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.151, allocations: 16.94 kB / 494.9 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.151, allocations: 0 / 494.9 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1511, allocations: 38.52 kB / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.1511, allocations: 0 / 494.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000712/0.1518, allocations: 251.9 kB / 495.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1518, allocations: 51.41 kB / 495.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009242/0.1528, allocations: 0.8652 MB / 496.1 MB, free: 4.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1528, allocations: 25.7 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.153, allocations: 220 kB / 496.3 MB, free: 4.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.153, allocations: 15.81 kB / 496.4 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.153, allocations: 3.938 kB / 496.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1532, allocations: 358.8 kB / 496.7 MB, free: 4.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.194e-05/0.1533, allocations: 27.98 kB / 496.7 MB, free: 4.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.1534, allocations: 23.98 kB / 496.8 MB, free: 4.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.457e-05/0.1535, allocations: 31.98 kB / 496.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1535, allocations: 0 / 496.8 MB, free: 4.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000239/0.1537, allocations: 137 kB / 496.9 MB, free: 4.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1538, allocations: 7.953 kB / 496.9 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1538, allocations: 4.188 kB / 496.9 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1538, allocations: 0 / 496.9 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.1539, allocations: 19.98 kB / 497 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.1539, allocations: 4 kB / 497 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.908e-05/0.1539, allocations: 4 kB / 497 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.154, allocations: 4 kB / 497 MB, free: 3.98 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 (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.0001961/0.1542, allocations: 213.8 kB / 497.2 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.1542, allocations: 39.53 kB / 497.2 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.1546, allocations: 156.9 kB / 497.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1546, allocations: 0 / 497.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1546, allocations: 0 / 497.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1546, allocations: 0 / 497.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.1552, allocations: 474.7 kB / 497.8 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1552, allocations: 3.953 kB / 497.8 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.1553, allocations: 15.98 kB / 497.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1553, allocations: 0 / 497.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1553, allocations: 0 / 497.9 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1553, allocations: 3.938 kB / 497.9 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/0.1553, allocations: 7.984 kB / 497.9 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.1556, allocations: 219 kB / 498.1 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.1557, allocations: 120.5 kB / 498.2 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1557, allocations: 0 / 498.2 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.1558, allocations: 8.188 kB / 498.2 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.1559, allocations: 3.984 kB / 498.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1559, allocations: 12 kB / 498.2 MB, free: 2.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006754/0.1566, allocations: 0.6472 MB / 498.9 MB, free: 1.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1566, allocations: 0 / 498.9 MB, free: 1.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.1568, allocations: 27.98 kB / 498.9 MB, free: 1.949 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 (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.0008591/0.1577, allocations: 396.7 kB / 499.3 MB, free: 1.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1579, allocations: 71.89 kB / 499.4 MB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1579, allocations: 0 / 499.4 MB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.158, allocations: 27.98 kB / 499.4 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1584, allocations: 21.95 kB / 499.4 MB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1598, allocations: 0.8624 MB / 0.4885 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.208/0.3678, allocations: 0.8247 MB / 0.4893 GB, free: 42.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.3679, allocations: 12.53 kB / 0.4894 GB, free: 42.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3679, allocations: 0.7656 kB / 0.4894 GB, free: 42.8 MB / 378.7 MB Notification: Performance of Templates: time 0.007436/0.3754, allocations: 3.666 MB / 0.4929 GB, free: 42.2 MB / 378.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/jenkins/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