Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.0008247/0.0008247, allocations: 83.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.003818/0.003818, allocations: 160.1 kB / 24.7 MB, free: 9.414 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.8701/0.8701, allocations: 177.1 MB / 205 MB, free: 5.711 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.2634/0.2634, allocations: 34.25 MB / 295.7 MB, free: 0.6914 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.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 4 kB / 443.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.907e-05, allocations: 2.281 kB / 443.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.1949/0.1949, allocations: 1.707 MB / 445.2 MB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.1958, allocations: 0.9675 MB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.1959, allocations: 3.125 kB / 446.2 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1962, allocations: 42.39 kB / 446.3 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1964, allocations: 100.3 kB / 446.4 MB, free: 43.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.1965, allocations: 76.53 kB / 446.4 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.1967, allocations: 106.5 kB / 446.5 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.165e-05/0.1968, allocations: 9.969 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.1968, allocations: 59.45 kB / 446.6 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.1969, allocations: 27.34 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1969, allocations: 2.875 kB / 446.6 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.197, allocations: 45.77 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.197, allocations: 24.44 kB / 446.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.197, allocations: 20.09 kB / 446.7 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1972, allocations: 117.1 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.1972, allocations: 0 / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1972, allocations: 0.5625 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1972, allocations: 4.281 kB / 446.8 MB, free: 43.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000373/0.1976, allocations: 347 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1976, allocations: 8.75 kB / 447.2 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.1976, allocations: 21.31 kB / 447.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.1978, allocations: 148.7 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1978, allocations: 4.375 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.1978, allocations: 3.094 kB / 447.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1979, allocations: 55.33 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.198, allocations: 6.844 kB / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.198, allocations: 0 / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.198, allocations: 0 / 447.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.198, allocations: 27.38 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002194/0.1982, allocations: 232.9 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1983, allocations: 55.8 kB / 447.7 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.1984, allocations: 25.39 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1984, allocations: 0.5 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.489e-05/0.1985, allocations: 72.67 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.1985, allocations: 2.906 kB / 447.8 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003555/0.1988, allocations: 184.4 kB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.1989, allocations: 51.41 kB / 448.1 MB, free: 42.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.199, allocations: 204.6 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.199, allocations: 32.3 kB / 448.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.742e-05/0.199, allocations: 100.7 kB / 448.4 MB, free: 41.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.199, allocations: 21.91 kB / 448.4 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.199, allocations: 25.78 kB / 448.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.947e-05/0.1991, allocations: 320.9 kB / 448.7 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.1991, allocations: 21.88 kB / 448.8 MB, free: 41.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.1991, allocations: 47.27 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.502e-05/0.1992, allocations: 65.14 kB / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1992, allocations: 0 / 448.9 MB, free: 41.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001019/0.1993, allocations: 107.1 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1993, allocations: 5.312 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1993, allocations: 2.625 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1993, allocations: 0 / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.1994, allocations: 20.78 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1994, allocations: 0 / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.8e-05/0.1994, allocations: 10.62 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.1994, allocations: 2.656 kB / 449 MB, free: 41.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.05e-05/0.1995, allocations: 128.8 kB / 449.1 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.1995, allocations: 9.328 kB / 449.2 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.1996, allocations: 124.8 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1996, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1996, allocations: 0 / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1996, allocations: 2.812 kB / 449.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1998, allocations: 352.7 kB / 449.6 MB, free: 40.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1998, allocations: 4.031 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.1999, allocations: 11.81 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1999, allocations: 3.281 kB / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.1999, allocations: 0 / 449.6 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1999, allocations: 8.344 kB / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1999, allocations: 0 / 449.7 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.997e-05/0.2, allocations: 216.6 kB / 449.9 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.2, allocations: 13.81 kB / 449.9 MB, free: 40.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2, allocations: 4 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.692e-05/0.2, allocations: 9.781 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.2001, allocations: 13.45 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.2001, allocations: 3 kB / 449.9 MB, free: 40.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.346e-05/0.2001, allocations: 160.8 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2001, allocations: 0 / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001669/0.2003, allocations: 23.48 kB / 450.1 MB, free: 40.52 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006922/0.201, allocations: 498.1 kB / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.2011, allocations: 62.52 kB / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2011, allocations: 0 / 450.6 MB, free: 40.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.2012, allocations: 32.08 kB / 450.7 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.2014, allocations: 30.98 kB / 450.7 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.2017, allocations: 251.2 kB / 450.9 MB, free: 40.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.756e-05/0.2017, allocations: 103.1 kB / 451 MB, free: 40.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.2017, allocations: 14.19 kB / 451.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2017, allocations: 2.938 kB / 451.1 MB, free: 40.03 MB / 410.7 MB Notification: Performance of Templates: time 0.002194/0.2039, allocations: 2.013 MB / 453.1 MB, free: 39.8 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.8673489997163415]