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.00137/0.001369, allocations: 178.8 kB / 16.41 MB, free: 5.578 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.744/1.744, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001065/0.001066, allocations: 94.3 kB / 270.9 MB, free: 8.367 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.4469/0.4469, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004342, allocations: 8 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1868, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002653/0.1896, allocations: 1.309 MB / 491.5 MB, free: 9.926 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1917, allocations: 0.8987 MB / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.1918, allocations: 0 / 492.4 MB, free: 9.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1922, allocations: 19.91 kB / 492.5 MB, free: 9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1925, allocations: 35.84 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006185/0.1931, allocations: 143.8 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.1933, allocations: 59.83 kB / 492.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.1935, allocations: 23.83 kB / 492.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.1936, allocations: 23.86 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1938, allocations: 27.84 kB / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.1939, allocations: 0 / 492.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1941, allocations: 39.98 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.1941, allocations: 15.92 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1942, allocations: 37.64 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1945, allocations: 75.81 kB / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.1945, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1945, allocations: 0 / 492.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1945, allocations: 0 / 492.9 MB, free: 8.52 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.000626/0.1951, allocations: 375.4 kB / 493.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1952, allocations: 20.02 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.1952, allocations: 15.86 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1955, allocations: 186.9 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1955, allocations: 0 / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1956, allocations: 4 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1958, allocations: 75.33 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1958, allocations: 4 kB / 493.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.1958, allocations: 8 kB / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.1959, allocations: 0 / 493.6 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.196, allocations: 43.92 kB / 493.7 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.1965, allocations: 308.8 kB / 494 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1967, allocations: 58.48 kB / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.1968, allocations: 32.94 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1968, allocations: 0 / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1969, allocations: 30.56 kB / 494.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1969, allocations: 0 / 494.1 MB, free: 7.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009384/0.1978, allocations: 265.4 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1979, allocations: 77.11 kB / 494.4 MB, free: 6.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1981, allocations: 137.6 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1981, allocations: 25.7 kB / 494.6 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.1982, allocations: 100 kB / 494.7 MB, free: 6.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.1982, allocations: 23.66 kB / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.1982, allocations: 0 / 494.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1984, allocations: 322.8 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.1986, allocations: 44.05 kB / 495 MB, free: 6.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1987, allocations: 69.61 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1989, allocations: 51.95 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1989, allocations: 0 / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003072/0.1992, allocations: 133.6 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1992, allocations: 11.39 kB / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1992, allocations: 0 / 495.3 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1992, allocations: 3.938 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.1994, allocations: 31.97 kB / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1994, allocations: 0 / 495.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.1995, allocations: 19.98 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.1995, allocations: 0 / 495.4 MB, free: 5.863 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.1996, allocations: 125.8 kB / 495.5 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.1997, allocations: 7.906 kB / 495.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.2, allocations: 153.9 kB / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2001, allocations: 0 / 495.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.2001, allocations: 4 kB / 495.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2001, allocations: 0 / 495.6 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006002/0.2007, allocations: 430.8 kB / 496.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2007, allocations: 7.953 kB / 496.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.945e-05/0.2008, allocations: 19.98 kB / 496.1 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2008, allocations: 3.938 kB / 496.1 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.2008, allocations: 4 kB / 496.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2008, allocations: 0 / 496.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2008, allocations: 0 / 496.1 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.2012, allocations: 239.3 kB / 496.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.2013, allocations: 96.95 kB / 496.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.2013, allocations: 4 kB / 496.4 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.2014, allocations: 15.98 kB / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.2015, allocations: 0 / 496.5 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.2015, allocations: 8 kB / 496.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.604e-05/0.2016, allocations: 107.2 kB / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2016, allocations: 0 / 496.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.2019, allocations: 20 kB / 496.6 MB, free: 4.535 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.0009627/0.2028, allocations: 442.2 kB / 497 MB, free: 4.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.2032, allocations: 115.8 kB / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2032, allocations: 0 / 497.1 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.2033, allocations: 55.97 kB / 497.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.2037, allocations: 19.97 kB / 497.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.2042, allocations: 231 kB / 497.4 MB, free: 3.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.2045, allocations: 0.7043 MB / 498.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.2046, allocations: 11.44 kB / 498.1 MB, free: 2.953 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2046, allocations: 0 / 498.1 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Templates: time 0.003915/0.2085, allocations: 1.786 MB / 499.9 MB, free: 1.168 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/jenkins/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