Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.000843/0.000843, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.001383/0.001383, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8858/0.8858, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2528/0.2528, allocations: 34.25 MB / 294.9 MB, free: 0.7422 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 442.3 MB, free: 1.602 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.438e-05, allocations: 6.219 kB / 442.3 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.1979/0.1979, allocations: 1.663 MB / 443.9 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.199, allocations: 0.9559 MB / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.1991, allocations: 0 / 444.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.1994, allocations: 55.88 kB / 444.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.1997, allocations: 106.2 kB / 445 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001255/0.1998, allocations: 79.11 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.1999, allocations: 101.5 kB / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.2, allocations: 11.25 kB / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.2001, allocations: 50.86 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.2001, allocations: 22.86 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2001, allocations: 2.812 kB / 445.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.135e-05/0.2002, allocations: 41.45 kB / 445.3 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.2003, allocations: 26.53 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.837e-05/0.2003, allocations: 19.72 kB / 445.4 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2005, allocations: 118.7 kB / 445.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2005, allocations: 2.656 kB / 445.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2005, allocations: 3.75 kB / 445.5 MB, free: 43.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.2005, allocations: 0 / 445.5 MB, free: 43.06 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004312/0.2009, allocations: 359.6 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.201, allocations: 11.34 kB / 445.9 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.478e-05/0.201, allocations: 33.98 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.201, allocations: 17.88 kB / 445.9 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.2012, allocations: 159.1 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2013, allocations: 4 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2013, allocations: 6.406 kB / 446.1 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.2014, allocations: 61.11 kB / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2014, allocations: 0 / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.2014, allocations: 0 / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2014, allocations: 0 / 446.1 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.2015, allocations: 17.94 kB / 446.2 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.2016, allocations: 156.1 kB / 446.3 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.2017, allocations: 56.98 kB / 446.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.2017, allocations: 23.28 kB / 446.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2017, allocations: 0 / 446.4 MB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.2019, allocations: 70.81 kB / 446.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2019, allocations: 0 / 446.5 MB, free: 42.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001982/0.2021, allocations: 106 kB / 446.6 MB, free: 42.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.2021, allocations: 54.69 kB / 446.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2022, allocations: 270.1 kB / 446.9 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.2022, allocations: 37.61 kB / 446.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.2023, allocations: 113.6 kB / 447 MB, free: 41.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2023, allocations: 20.8 kB / 447.1 MB, free: 41.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.2023, allocations: 20.06 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.2023, allocations: 330.3 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.031e-05/0.2024, allocations: 15.77 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.2024, allocations: 29.22 kB / 447.4 MB, free: 41.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.498e-05/0.2025, allocations: 51.16 kB / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2025, allocations: 2.594 kB / 447.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.378e-05/0.2026, allocations: 87.8 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2026, allocations: 5.25 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2026, allocations: 3.188 kB / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2026, allocations: 0 / 447.6 MB, free: 41.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.2026, allocations: 18.47 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2026, allocations: 0 / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.2027, allocations: 6.203 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.2027, allocations: 2.562 kB / 447.6 MB, free: 41.51 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 (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 6.054e-05/0.2027, allocations: 132 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.2028, allocations: 24.91 kB / 447.8 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.2029, allocations: 94.91 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2029, allocations: 0 / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2029, allocations: 10.09 kB / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2029, allocations: 0 / 447.9 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.773e-05/0.203, allocations: 165 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.203, allocations: 7.125 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.203, allocations: 10.16 kB / 448 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.203, allocations: 6.844 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.203, allocations: 2.594 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.203, allocations: 4 kB / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.203, allocations: 0 / 448.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.587e-05/0.2031, allocations: 114.9 kB / 448.2 MB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.2031, allocations: 24.56 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2031, allocations: 0 / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.891e-05/0.2031, allocations: 2.812 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2032, allocations: 3.375 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2032, allocations: 2.969 kB / 448.2 MB, free: 41.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.2033, allocations: 206.1 kB / 448.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2033, allocations: 0 / 448.4 MB, free: 41.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001452/0.2034, allocations: 32.06 kB / 448.4 MB, free: 41.01 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: 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 (6): * Single equations (assignments): 4 * 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.0008186/0.2042, allocations: 0.9954 MB / 449.4 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2044, allocations: 41.03 kB / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2044, allocations: 0 / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.2044, allocations: 20.7 kB / 449.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.2046, allocations: 29.23 kB / 449.5 MB, free: 40.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.2056, allocations: 1.689 MB / 451.2 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.086e-05/0.2057, allocations: 102.5 kB / 451.3 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.154e-05/0.2057, allocations: 14.17 kB / 451.3 MB, free: 38.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.2058, allocations: 41.5 kB / 451.4 MB, free: 38.89 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2058, allocations: 0 / 451.4 MB, free: 38.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01775/0.2235, allocations: 4.324 MB / 455.7 MB, free: 37.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.238, allocations: 2.812 kB / 455.7 MB, free: 37.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test64.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: 9.35434724483639]