Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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.001023/0.001023, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.000981/0.000981, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8604/0.8604, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.581e-05, allocations: 2.281 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003625/0.003641, allocations: 4.275 MB / 328.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.004965, allocations: 1.619 MB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.00502, allocations: 3.938 kB / 330.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.005247, allocations: 43.69 kB / 330.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.005506, allocations: 131.1 kB / 330.6 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.005901, allocations: 257.6 kB / 330.9 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.006145, allocations: 298.7 kB / 331.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.006182, allocations: 17.27 kB / 331.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.006396, allocations: 167.6 kB / 331.3 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.82e-05/0.006474, allocations: 79.77 kB / 331.4 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.006492, allocations: 8 kB / 331.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.006636, allocations: 91.81 kB / 331.5 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.976e-05/0.006696, allocations: 39.89 kB / 331.5 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.006748, allocations: 71.77 kB / 331.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.006987, allocations: 231.4 kB / 331.8 MB, free: 8.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.00699, allocations: 3.984 kB / 331.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006991, allocations: 0 / 331.8 MB, free: 8.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.006995, allocations: 0 / 331.8 MB, free: 8.609 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006125/0.007607, allocations: 425.8 kB / 332.3 MB, free: 8.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.007644, allocations: 8.031 kB / 332.3 MB, free: 8.152 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.007687, allocations: 46.73 kB / 332.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.626e-05/0.007783, allocations: 20.89 kB / 332.3 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.007979, allocations: 153.5 kB / 332.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.007991, allocations: 12.66 kB / 332.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.00802, allocations: 16.38 kB / 332.5 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.008337, allocations: 372.2 kB / 332.9 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.008349, allocations: 4.188 kB / 332.9 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.008367, allocations: 7.938 kB / 332.9 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.008373, allocations: 4 kB / 332.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.008579, allocations: 151.8 kB / 333 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.009356, allocations: 0.8596 MB / 333.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.009583, allocations: 150.7 kB / 334.1 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.009659, allocations: 52.83 kB / 334.1 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.009952, allocations: 332.1 kB / 334.4 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.00997, allocations: 34.56 kB / 334.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.009971, allocations: 0 / 334.5 MB, free: 5.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001332/0.0113, allocations: 0.6959 MB / 335.2 MB, free: 5.039 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.01133, allocations: 59.34 kB / 335.2 MB, free: 4.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.046e-05/0.01142, allocations: 166.1 kB / 335.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.01144, allocations: 37.64 kB / 335.4 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.0115, allocations: 148.1 kB / 335.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.01153, allocations: 67.42 kB / 335.6 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.01159, allocations: 57.66 kB / 335.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.01167, allocations: 330.8 kB / 336 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.0118, allocations: 83.69 kB / 336.1 MB, free: 4.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.01197, allocations: 198 kB / 336.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/0.01242, allocations: 300.4 kB / 336.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01242, allocations: 0 / 336.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000372/0.01279, allocations: 317.2 kB / 336.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.01281, allocations: 11.94 kB / 336.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01281, allocations: 4 kB / 336.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01283, allocations: 4 kB / 336.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.01301, allocations: 88.19 kB / 337 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.01302, allocations: 11.94 kB / 337 MB, free: 3.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.751e-05/0.01312, allocations: 15.98 kB / 337 MB, free: 3.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.01314, allocations: 12 kB / 337 MB, free: 3.023 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 8.052e-05/0.01322, allocations: 129.8 kB / 337.2 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.01325, allocations: 19.84 kB / 337.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/0.0136, allocations: 246.5 kB / 337.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.0136, allocations: 4 kB / 337.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01361, allocations: 0 / 337.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01361, allocations: 3.984 kB / 337.4 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.01427, allocations: 0.5505 MB / 338 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01427, allocations: 4 kB / 338 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.01439, allocations: 55.89 kB / 338 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.0144, allocations: 4 kB / 338 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01441, allocations: 7.922 kB / 338 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.01441, allocations: 4 kB / 338 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01441, allocations: 0 / 338 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.01486, allocations: 410.3 kB / 338.4 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.0149, allocations: 31.84 kB / 338.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01492, allocations: 8 kB / 338.5 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01502, allocations: 20.05 kB / 338.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.01504, allocations: 15.91 kB / 338.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.01506, allocations: 12 kB / 338.5 MB, free: 1.414 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.01511, allocations: 111.2 kB / 338.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01511, allocations: 0 / 338.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00023/0.01534, allocations: 63.94 kB / 338.7 MB, free: 1.242 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0006646/0.016, allocations: 0.9538 MB / 339.7 MB, free: 252 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.01632, allocations: 218.9 kB / 339.9 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01632, allocations: 4 kB / 339.9 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.01645, allocations: 85 kB / 340 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.01671, allocations: 39.97 kB / 340 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.01863, allocations: 2.331 MB / 342.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.592e-05/0.0187, allocations: 99.28 kB / 342.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.01884, allocations: 49.86 kB / 342.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.471e-05/0.01893, allocations: 52.47 kB / 342.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01893, allocations: 0 / 342.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.03605, allocations: 5.332 MB / 347.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/6.681, allocations: 9.578 kB / 347.9 MB, free: 7.98 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 Modelica_4_1_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.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: 8.409423501230776]