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.001642/0.001642, 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 2.066/2.066, 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.00118/0.00118, allocations: 101.6 kB / 270.9 MB, free: 8.359 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.5624/0.5624, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000664/0.0006642, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1395, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002837/0.1424, allocations: 1.266 MB / 491.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008845/0.1433, allocations: 279.8 kB / 491.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1434, allocations: 0 / 491.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007867/0.1442, allocations: 439.1 kB / 492.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.1447, allocations: 235.6 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.1453, allocations: 139.7 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.1456, allocations: 115.8 kB / 492.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1458, allocations: 11.98 kB / 492.7 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1459, allocations: 95.8 kB / 492.8 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.1462, allocations: 151.7 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1463, allocations: 0 / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1464, allocations: 12 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1465, allocations: 83.69 kB / 493 MB, free: 8.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.1466, allocations: 61.52 kB / 493.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.1469, allocations: 183.7 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.147, allocations: 0 / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.147, allocations: 8 kB / 493.3 MB, free: 8.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.147, allocations: 0 / 493.3 MB, free: 8.184 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.001012/0.148, allocations: 0.5873 MB / 493.8 MB, free: 7.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1481, allocations: 12.02 kB / 493.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.1482, allocations: 47.48 kB / 493.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.1487, allocations: 283.2 kB / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1487, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1487, allocations: 0 / 494.2 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.149, allocations: 61.67 kB / 494.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.149, allocations: 0 / 494.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.149, allocations: 0 / 494.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.149, allocations: 3.984 kB / 494.2 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.1492, allocations: 27.94 kB / 494.3 MB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.15, allocations: 396.8 kB / 494.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1502, allocations: 30.58 kB / 494.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.1502, allocations: 0 / 494.7 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.1503, allocations: 34.55 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.1503, allocations: 0 / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004279/0.1507, allocations: 121.1 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1508, allocations: 55.41 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.1522, allocations: 0.8574 MB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1523, allocations: 33.7 kB / 495.8 MB, free: 5.457 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.1526, allocations: 242.5 kB / 496 MB, free: 5.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.1526, allocations: 3.906 kB / 496 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.1526, allocations: 3.938 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1528, allocations: 315 kB / 496.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1529, allocations: 15.98 kB / 496.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.153, allocations: 11.98 kB / 496.4 MB, free: 4.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.1531, allocations: 12 kB / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1531, allocations: 0 / 496.4 MB, free: 4.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002323/0.1534, allocations: 61.73 kB / 496.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.1534, allocations: 8 kB / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.1534, allocations: 0 / 496.4 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.1534, allocations: 7.891 kB / 496.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.1536, allocations: 4 kB / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1536, allocations: 0 / 496.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1537, allocations: 7.938 kB / 496.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1537, allocations: 3.984 kB / 496.5 MB, free: 4.758 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.000311/0.154, allocations: 209.8 kB / 496.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.1541, allocations: 43.44 kB / 496.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.1545, allocations: 112.7 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1545, allocations: 3.953 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1545, allocations: 0 / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1545, allocations: 0 / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.155, allocations: 289.6 kB / 497.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.155, allocations: 0 / 497.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.155, allocations: 7.938 kB / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1551, allocations: 0 / 497.1 MB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1551, allocations: 4 kB / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1551, allocations: 0 / 497.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.249e-06/0.1551, allocations: 3.953 kB / 497.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.1554, allocations: 191 kB / 497.3 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.1556, allocations: 116.6 kB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1556, allocations: 4 kB / 497.4 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1557, allocations: 4 kB / 497.4 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.1558, allocations: 0 / 497.4 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.1558, allocations: 3.953 kB / 497.4 MB, free: 3.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.1569, allocations: 0.6589 MB / 498.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.1569, allocations: 3.938 kB / 498.1 MB, free: 3.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.1573, allocations: 27.92 kB / 498.1 MB, free: 2.996 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.00108/0.1584, allocations: 345 kB / 498.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.1587, allocations: 31.92 kB / 498.5 MB, free: 2.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1587, allocations: 3.938 kB / 498.5 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.1588, allocations: 15.98 kB / 498.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1592, allocations: 26.28 kB / 498.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.161, allocations: 0.8472 MB / 499.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.1617, allocations: 0.8262 MB / 0.4885 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.1617, allocations: 11.44 kB / 0.4885 GB, free: 0.875 MB / 378.7 MB Notification: Performance of SimCode: time 3.748e-06/0.1617, allocations: 0 / 0.4885 GB, free: 0.875 MB / 378.7 MB Notification: Performance of Templates: time 0.3506/0.5123, allocations: 3.455 MB / 0.4919 GB, free: 42.26 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/jenkins1/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