Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.0008431/0.0008431, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004066/0.004066, allocations: 165.3 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.921/0.921, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2715/0.2715, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.819e-05, allocations: 8.328 kB / 440.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002659/0.002688, allocations: 1.665 MB / 442.5 MB, free: 2.043 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.0036, allocations: 0.5646 MB / 443.1 MB, free: 1.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.003673, allocations: 4 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.00425, allocations: 462.9 kB / 443.6 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.004677, allocations: 299.1 kB / 443.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.005038, allocations: 172.1 kB / 444 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.005264, allocations: 183.6 kB / 444.2 MB, free: 388 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005373, allocations: 16.22 kB / 444.2 MB, free: 368 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.005497, allocations: 119.8 kB / 444.3 MB, free: 248 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.005721, allocations: 247.5 kB / 444.6 MB, free: 0 / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1928/0.1986, allocations: 2.953 kB / 444.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1987, allocations: 53.55 kB / 444.6 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1988, allocations: 86.56 kB / 444.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.1989, allocations: 35.36 kB / 444.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.1992, allocations: 259.4 kB / 445 MB, free: 44.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1992, allocations: 3.562 kB / 445 MB, free: 44.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1992, allocations: 0 / 445 MB, free: 44.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1992, allocations: 0 / 445 MB, free: 44.56 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004877/0.1997, allocations: 0.583 MB / 445.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1997, allocations: 8.844 kB / 445.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.1998, allocations: 48.64 kB / 445.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.1999, allocations: 248.6 kB / 445.9 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.1999, allocations: 3.125 kB / 445.9 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.2, allocations: 8.125 kB / 445.9 MB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.2001, allocations: 57 kB / 445.9 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.2001, allocations: 3.125 kB / 446 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2001, allocations: 3.25 kB / 446 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.2001, allocations: 7.219 kB / 446 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/0.2002, allocations: 31.39 kB / 446 MB, free: 43.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.2005, allocations: 341.9 kB / 446.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.2006, allocations: 50.62 kB / 446.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.2006, allocations: 22.47 kB / 446.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2006, allocations: 2.938 kB / 446.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.2007, allocations: 36.48 kB / 446.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.2007, allocations: 0 / 446.4 MB, free: 43.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000596/0.2013, allocations: 330.3 kB / 446.8 MB, free: 43.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.446e-05/0.2013, allocations: 54.28 kB / 446.8 MB, free: 43.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.2017, allocations: 0.8609 MB / 447.7 MB, free: 43.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.2017, allocations: 32.58 kB / 447.7 MB, free: 43.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.2018, allocations: 218.8 kB / 447.9 MB, free: 43.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.2018, allocations: 24.89 kB / 447.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.2019, allocations: 18.91 kB / 448 MB, free: 43.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.314e-05/0.2019, allocations: 370.8 kB / 448.3 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.202, allocations: 28.8 kB / 448.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.202, allocations: 40.39 kB / 448.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.2021, allocations: 70.7 kB / 448.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2021, allocations: 2.781 kB / 448.5 MB, free: 42.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001354/0.2022, allocations: 145 kB / 448.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2023, allocations: 5.75 kB / 448.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2023, allocations: 2.75 kB / 448.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2023, allocations: 2.969 kB / 448.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.398e-05/0.2023, allocations: 16.22 kB / 448.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2024, allocations: 0 / 448.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.092e-05/0.2024, allocations: 12.5 kB / 448.6 MB, free: 42.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.2024, allocations: 2.719 kB / 448.6 MB, free: 42.74 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 (8): * Single equations (assignments): 8 * 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.0001128/0.2025, allocations: 224.9 kB / 448.9 MB, free: 42.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2025, allocations: 48.81 kB / 448.9 MB, free: 42.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.2027, allocations: 176.4 kB / 449.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2027, allocations: 0 / 449.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2027, allocations: 0.5625 kB / 449.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2027, allocations: 3.812 kB / 449.1 MB, free: 42.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.2031, allocations: 463.2 kB / 449.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2031, allocations: 0 / 449.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.2031, allocations: 20.2 kB / 449.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2031, allocations: 0 / 449.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2031, allocations: 4.469 kB / 449.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2031, allocations: 7.406 kB / 449.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2031, allocations: 3.938 kB / 449.6 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.2032, allocations: 255.8 kB / 449.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.2033, allocations: 41.88 kB / 449.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2033, allocations: 0 / 449.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.177e-05/0.2033, allocations: 5.562 kB / 449.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.2033, allocations: 10.19 kB / 449.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.2034, allocations: 2.906 kB / 449.9 MB, free: 42.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003158/0.2037, allocations: 0.6575 MB / 450.5 MB, free: 41.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2037, allocations: 0 / 450.5 MB, free: 41.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.2038, allocations: 35.59 kB / 450.6 MB, free: 41.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0007487/0.2046, allocations: 488 kB / 451.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001398/0.2047, allocations: 80.03 kB / 451.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2047, allocations: 0 / 451.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.2048, allocations: 42.38 kB / 451.2 MB, free: 41.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2051, allocations: 36.08 kB / 451.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006766/0.2057, allocations: 0.8732 MB / 452.1 MB, free: 41.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2059, allocations: 223.7 kB / 452.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.174e-05/0.2059, allocations: 18.31 kB / 452.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2059, allocations: 0 / 452.3 MB, free: 41.16 MB / 410.7 MB Notification: Performance of Templates: time 0.004041/0.2099, allocations: 4.194 MB / 456.5 MB, free: 40.25 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 5.10351188108325]