Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.000902/0.000902, 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.006419/0.006419, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.9118/0.9118, 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.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.2634/0.2634, allocations: 32.79 MB / 294.2 MB, free: 1.219 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.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 440.9 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.828e-05, allocations: 10.22 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002262/0.002291, allocations: 1.714 MB / 442.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.003913, allocations: 1.671 MB / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.16e-05/0.003985, allocations: 0 / 444.3 MB, free: 256 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.00425, allocations: 43.7 kB / 444.4 MB, free: 212 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.004561, allocations: 103.4 kB / 444.5 MB, free: 108 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.004708, allocations: 79.61 kB / 444.5 MB, free: 28 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1932/0.1979, allocations: 104.2 kB / 444.6 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.198, allocations: 8.719 kB / 444.7 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1982, allocations: 58.8 kB / 444.7 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.1983, allocations: 38.86 kB / 444.8 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1983, allocations: 5.312 kB / 444.8 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.1985, allocations: 102.2 kB / 444.9 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.941e-05/0.1986, allocations: 20.17 kB / 444.9 MB, free: 43.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.1986, allocations: 25.56 kB / 444.9 MB, free: 43.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.1989, allocations: 179.2 kB / 445.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1989, allocations: 3.375 kB / 445.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1989, allocations: 0 / 445.1 MB, free: 43.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1989, allocations: 0 / 445.1 MB, free: 43.91 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.0004421/0.1994, allocations: 356 kB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1994, allocations: 9.531 kB / 445.4 MB, free: 43.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.1995, allocations: 10.64 kB / 445.4 MB, free: 43.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1997, allocations: 150.9 kB / 445.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1997, allocations: 5.703 kB / 445.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.1997, allocations: 4.703 kB / 445.6 MB, free: 43.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1999, allocations: 105.6 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1999, allocations: 0.5625 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1999, allocations: 0 / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1999, allocations: 3.406 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.1999, allocations: 21.16 kB / 445.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.2002, allocations: 226.3 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.2003, allocations: 65.08 kB / 446 MB, free: 43.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.2003, allocations: 20.52 kB / 446 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.2004, allocations: 2.875 kB / 446 MB, free: 43.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.2005, allocations: 73.88 kB / 446.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2005, allocations: 2.312 kB / 446.1 MB, free: 43.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004153/0.2009, allocations: 171.7 kB / 446.3 MB, free: 43.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2009, allocations: 81.05 kB / 446.4 MB, free: 42.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.201, allocations: 167.6 kB / 446.5 MB, free: 42.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.201, allocations: 29.52 kB / 446.6 MB, free: 42.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.2011, allocations: 97.86 kB / 446.6 MB, free: 42.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.2011, allocations: 28.55 kB / 446.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.2011, allocations: 29.19 kB / 446.7 MB, free: 42.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.165e-05/0.2011, allocations: 325.6 kB / 447 MB, free: 42.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.2012, allocations: 23.55 kB / 447 MB, free: 42.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.2012, allocations: 66.92 kB / 447.1 MB, free: 42.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.2013, allocations: 66.69 kB / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2013, allocations: 0 / 447.2 MB, free: 42.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001084/0.2014, allocations: 113.6 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2014, allocations: 5.375 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2014, allocations: 0 / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2014, allocations: 2.531 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.2015, allocations: 17.58 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2015, allocations: 0 / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.2015, allocations: 10.14 kB / 447.3 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.2015, allocations: 2.781 kB / 447.3 MB, free: 42.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 6.346e-05/0.2016, allocations: 124.1 kB / 447.4 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.2016, allocations: 9.828 kB / 447.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2018, allocations: 124.1 kB / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2018, allocations: 2.906 kB / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2018, allocations: 0 / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2018, allocations: 0 / 447.6 MB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.202, allocations: 352.1 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.202, allocations: 0 / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.2021, allocations: 8.688 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.2021, allocations: 2.875 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2021, allocations: 3.281 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.2021, allocations: 2.938 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2021, allocations: 4.031 kB / 447.9 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.2022, allocations: 212.7 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.2022, allocations: 17.55 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2022, allocations: 0 / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.2023, allocations: 9.469 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.2023, allocations: 9.922 kB / 448.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.2023, allocations: 6.75 kB / 448.2 MB, free: 41.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.2024, allocations: 128.7 kB / 448.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2024, allocations: 0 / 448.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.2026, allocations: 61.44 kB / 448.4 MB, free: 41.64 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.0009297/0.2035, allocations: 0.5892 MB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2036, allocations: 60.94 kB / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2036, allocations: 0 / 449 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.2037, allocations: 31.95 kB / 449.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.2039, allocations: 39.48 kB / 449.1 MB, free: 41.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003428/0.2043, allocations: 223.7 kB / 449.3 MB, free: 41.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.2043, allocations: 91.5 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.2043, allocations: 19.95 kB / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2043, allocations: 0 / 449.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of Templates: time 0.002993/0.2073, allocations: 2.48 MB / 451.9 MB, free: 40.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.116722273640335]