Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.0007963/0.0007963, 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.004673/0.004673, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.8796/0.8796, allocations: 177.2 MB / 205 MB, free: 5.703 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.2613/0.2613, allocations: 34.26 MB / 295.7 MB, free: 0.6836 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 443.5 MB, free: 1.043 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.002e-05, allocations: 4.812 kB / 443.5 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.1968/0.1969, allocations: 1.712 MB / 445.2 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.1979, allocations: 0.966 MB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.184e-05/0.1979, allocations: 4.281 kB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.1982, allocations: 86.33 kB / 446.3 MB, free: 43.26 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1985, allocations: 119.7 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.1987, allocations: 81.53 kB / 446.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1988, allocations: 121.5 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.1989, allocations: 5.281 kB / 446.6 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.199, allocations: 72.56 kB / 446.7 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.85e-05/0.1991, allocations: 53.98 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1991, allocations: 6.891 kB / 446.7 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.379e-05/0.1992, allocations: 47.98 kB / 446.8 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.376e-05/0.1992, allocations: 23.16 kB / 446.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.1992, allocations: 23.47 kB / 446.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.1994, allocations: 125.8 kB / 447 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1994, allocations: 3.188 kB / 447 MB, free: 43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1994, allocations: 0 / 447 MB, free: 43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.1994, allocations: 0 / 447 MB, free: 43 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.0003918/0.1998, allocations: 352.2 kB / 447.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1999, allocations: 14.27 kB / 447.3 MB, free: 42.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.1999, allocations: 16.84 kB / 447.3 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.2001, allocations: 152.8 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.2001, allocations: 4.375 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2001, allocations: 2.938 kB / 447.5 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2002, allocations: 60.41 kB / 447.6 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2002, allocations: 3.938 kB / 447.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.2003, allocations: 3.062 kB / 447.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2003, allocations: 3.188 kB / 447.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.062e-05/0.2003, allocations: 23.06 kB / 447.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.2006, allocations: 232 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.2007, allocations: 63.64 kB / 447.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.2007, allocations: 21.48 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.2007, allocations: 6.359 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.2008, allocations: 68.03 kB / 448 MB, free: 42.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.2008, allocations: 0 / 448 MB, free: 42.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003788/0.2012, allocations: 182.4 kB / 448.1 MB, free: 42.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.2012, allocations: 51.41 kB / 448.2 MB, free: 41.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2013, allocations: 224.6 kB / 448.4 MB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.2013, allocations: 25.7 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.2014, allocations: 112.7 kB / 448.6 MB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.2014, allocations: 30.64 kB / 448.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.2014, allocations: 25.8 kB / 448.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.259e-05/0.2015, allocations: 325 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.2015, allocations: 19.05 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.2015, allocations: 44.14 kB / 449 MB, free: 41.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.2016, allocations: 68.55 kB / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.2016, allocations: 0 / 449.1 MB, free: 41.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001004/0.2017, allocations: 99.7 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.2017, allocations: 6.906 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2017, allocations: 0 / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.2017, allocations: 2.906 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.549e-05/0.2018, allocations: 19.28 kB / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2018, allocations: 0 / 449.2 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.854e-05/0.2018, allocations: 10.89 kB / 449.2 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2018, allocations: 6.281 kB / 449.2 MB, free: 41.2 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.854e-05/0.2019, allocations: 130.6 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.2019, allocations: 16.91 kB / 449.3 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.2021, allocations: 124 kB / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2021, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2021, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2021, allocations: 0 / 449.5 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.2023, allocations: 359.2 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.2023, allocations: 6.906 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.2023, allocations: 11.72 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2023, allocations: 0 / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2023, allocations: 2.844 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2023, allocations: 1.594 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2023, allocations: 3.938 kB / 449.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.2024, allocations: 216.2 kB / 450 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.2025, allocations: 6.703 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2025, allocations: 10.17 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.2025, allocations: 3.938 kB / 450.1 MB, free: 40.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.2025, allocations: 13.17 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2026, allocations: 4.156 kB / 450.1 MB, free: 40.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.093e-05/0.2026, allocations: 182.9 kB / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2026, allocations: 0 / 450.3 MB, free: 40.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001738/0.2028, allocations: 24.78 kB / 450.3 MB, free: 40.41 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.0007462/0.2035, allocations: 0.497 MB / 450.8 MB, free: 40.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.2037, allocations: 57.25 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2037, allocations: 0 / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.2037, allocations: 32.42 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2039, allocations: 33.16 kB / 450.9 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.2043, allocations: 277 kB / 451.2 MB, free: 40 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.378e-05/0.2044, allocations: 107.5 kB / 451.3 MB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.844e-05/0.2044, allocations: 24.78 kB / 451.3 MB, free: 39.91 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2044, allocations: 0 / 451.3 MB, free: 39.91 MB / 410.7 MB Notification: Performance of Templates: time 0.002467/0.2068, allocations: 2.056 MB / 453.4 MB, free: 39.68 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.84677339438349]