Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008579/0.0008579, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004388/0.004388, allocations: 163.2 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9218/0.9218, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2586/0.2586, allocations: 34.25 MB / 295.7 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 443.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.028e-05, allocations: 6.281 kB / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.1981/0.1981, allocations: 1.655 MB / 445.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1994, allocations: 1.283 MB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.1995, allocations: 1.875 kB / 446.4 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1997, allocations: 20.25 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1999, allocations: 90.7 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.2002, allocations: 180 kB / 446.7 MB, free: 42.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.2003, allocations: 88.11 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.2004, allocations: 6.906 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.2005, allocations: 48.83 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.591e-05/0.2005, allocations: 26.08 kB / 446.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2006, allocations: 8.25 kB / 446.9 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2007, allocations: 92.34 kB / 446.9 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.2007, allocations: 17.25 kB / 447 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.2008, allocations: 17.19 kB / 447 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.201, allocations: 165 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.201, allocations: 0.6875 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.201, allocations: 2.938 kB / 447.1 MB, free: 42.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.201, allocations: 1.062 kB / 447.1 MB, free: 42.78 MB / 410.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.0003765/0.2013, allocations: 331.6 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2014, allocations: 12.38 kB / 447.5 MB, free: 42.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.2014, allocations: 10.64 kB / 447.5 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.2016, allocations: 142.2 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-06/0.2016, allocations: 3.312 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2016, allocations: 11.25 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.2017, allocations: 103 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2017, allocations: 192 / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2018, allocations: 4.125 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2018, allocations: 3.312 kB / 447.8 MB, free: 42.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.6e-05/0.2018, allocations: 42.06 kB / 447.8 MB, free: 42.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002638/0.2021, allocations: 239.6 kB / 448 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.338e-05/0.2022, allocations: 50.8 kB / 448.1 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.2022, allocations: 30.44 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2022, allocations: 0 / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.2023, allocations: 33.38 kB / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2023, allocations: 0 / 448.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000529/0.2028, allocations: 235.8 kB / 448.4 MB, free: 41.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2028, allocations: 79.73 kB / 448.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2029, allocations: 147.3 kB / 448.6 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.2029, allocations: 29.7 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.203, allocations: 90.03 kB / 448.7 MB, free: 41.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.203, allocations: 26.5 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.203, allocations: 29.59 kB / 448.8 MB, free: 41.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.203, allocations: 324.8 kB / 449.1 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.2031, allocations: 38.61 kB / 449.1 MB, free: 41.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.2032, allocations: 85.05 kB / 449.2 MB, free: 41.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2033, allocations: 89.02 kB / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2033, allocations: 0 / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000147/0.2034, allocations: 123.4 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2034, allocations: 5.5 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2035, allocations: 0 / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2035, allocations: 0 / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.2036, allocations: 22.44 kB / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2036, allocations: 0 / 449.4 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.2036, allocations: 12.77 kB / 449.4 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2036, allocations: 8.344 kB / 449.5 MB, free: 40.97 MB / 410.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.2037, allocations: 127.3 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.2037, allocations: 7.891 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.2039, allocations: 148.4 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2039, allocations: 0 / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2039, allocations: 0 / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2039, allocations: 2.812 kB / 449.7 MB, free: 40.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.2042, allocations: 355.1 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2042, allocations: 3.234 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.2042, allocations: 19.86 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2043, allocations: 0 / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.2043, allocations: 4 kB / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2043, allocations: 0 / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2043, allocations: 2.812 kB / 450.1 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.2044, allocations: 225.9 kB / 450.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.2044, allocations: 10.92 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.2045, allocations: 6.062 kB / 450.3 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.2045, allocations: 8.953 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.2045, allocations: 6.562 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2045, allocations: 2.906 kB / 450.4 MB, free: 40.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.2046, allocations: 113.7 kB / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2046, allocations: 0 / 450.5 MB, free: 40.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000197/0.2048, allocations: 47.3 kB / 450.5 MB, free: 40.22 MB / 410.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 (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.0009026/0.2057, allocations: 0.5367 MB / 451.1 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.2059, allocations: 93.98 kB / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2059, allocations: 0 / 451.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.826e-05/0.2059, allocations: 39.95 kB / 451.2 MB, free: 40.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2062, allocations: 19.72 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.2067, allocations: 242 kB / 451.4 MB, free: 39.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.442e-05/0.2067, allocations: 86.62 kB / 451.5 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.2068, allocations: 20.2 kB / 451.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2068, allocations: 0 / 451.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of Templates: time 0.0034/0.2102, allocations: 2.23 MB / 453.8 MB, free: 39.48 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.751764256507158]