Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,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_ModelicaTest.Tables.CombiTable2Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 182.7 kB / 16.91 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 223.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.402/0.402, allocations: 43.58 MB / 315 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006402/0.00064, allocations: 16 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1872, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003312/0.1905, allocations: 1.333 MB / 444.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1916, allocations: 331.6 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.1917, allocations: 0 / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.1921, allocations: 75.83 kB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.1924, allocations: 59.81 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.193, allocations: 131.8 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1933, allocations: 79.75 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1934, allocations: 20.27 kB / 445.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.1935, allocations: 31.91 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.1936, allocations: 51.75 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1937, allocations: 4 kB / 445.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1938, allocations: 20 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1939, allocations: 27.92 kB / 445.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.114e-05/0.194, allocations: 61.42 kB / 445.7 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.1943, allocations: 91.64 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1943, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1943, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1944, allocations: 0 / 445.7 MB, free: 10.36 MB / 382.1 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.0006943/0.1951, allocations: 391.1 kB / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1951, allocations: 12.03 kB / 446.1 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.1952, allocations: 16.83 kB / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1955, allocations: 204 kB / 446.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1955, allocations: 384 / 446.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.1955, allocations: 384 / 446.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1958, allocations: 73.78 kB / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.1958, allocations: 0 / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.1959, allocations: 4 kB / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1959, allocations: 0 / 446.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.1961, allocations: 47.97 kB / 446.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.1966, allocations: 320.6 kB / 446.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.1968, allocations: 54.55 kB / 446.8 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.1969, allocations: 28.94 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.1969, allocations: 0 / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.197, allocations: 34.56 kB / 446.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.197, allocations: 4 kB / 446.9 MB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.00096/0.198, allocations: 269.4 kB / 447.2 MB, free: 8.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.198, allocations: 55.41 kB / 447.2 MB, free: 8.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1982, allocations: 199.3 kB / 447.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1983, allocations: 29.7 kB / 447.4 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.1984, allocations: 115.9 kB / 447.6 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1984, allocations: 19.72 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1985, allocations: 13.7 kB / 447.6 MB, free: 8.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1986, allocations: 326.8 kB / 447.9 MB, free: 7.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1987, allocations: 47.97 kB / 448 MB, free: 7.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1989, allocations: 47.97 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.1991, allocations: 104.8 kB / 448.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1991, allocations: 0 / 448.1 MB, free: 7.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003218/0.1995, allocations: 141.5 kB / 448.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1995, allocations: 8 kB / 448.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1995, allocations: 0 / 448.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1995, allocations: 0 / 448.3 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1997, allocations: 27.92 kB / 448.3 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1997, allocations: 4 kB / 448.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.422e-05/0.1997, allocations: 19.92 kB / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1997, allocations: 0 / 448.3 MB, free: 7.57 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.1999, allocations: 133.8 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1999, allocations: 15.84 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.2003, allocations: 158.9 kB / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2003, allocations: 3.938 kB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.2003, allocations: 4 kB / 448.6 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2003, allocations: 3.938 kB / 448.6 MB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.201, allocations: 426.9 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.201, allocations: 0 / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-05/0.2011, allocations: 23.98 kB / 449.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2011, allocations: 4 kB / 449.1 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2011, allocations: 7.922 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2011, allocations: 0 / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2011, allocations: 4.016 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.2015, allocations: 239.4 kB / 449.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.2016, allocations: 89.02 kB / 449.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.2016, allocations: 3.938 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.935e-05/0.2017, allocations: 15.98 kB / 449.4 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.2018, allocations: 7.984 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2018, allocations: 4 kB / 449.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.2019, allocations: 156.9 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.202, allocations: 0 / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.2022, allocations: 16 kB / 449.6 MB, free: 6.176 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.2034, allocations: 424.8 kB / 450 MB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.2038, allocations: 107.9 kB / 450.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2038, allocations: 0 / 450.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.2039, allocations: 55.95 kB / 450.2 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.2044, allocations: 15.91 kB / 450.2 MB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.205, allocations: 290 kB / 450.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.2054, allocations: 0.7121 MB / 451.2 MB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.2055, allocations: 19.98 kB / 451.2 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.2056, allocations: 15.42 kB / 451.2 MB, free: 4.527 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2056, allocations: 0 / 451.2 MB, free: 4.527 MB / 382.1 MB Notification: Performance of Templates: time 0.004541/0.2101, allocations: 1.191 MB / 452.4 MB, free: 3.336 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches