Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 182.7 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 40.08 kB / 370.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2664, allocations: 52.2 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006699/0.2731, allocations: 4.525 MB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2753, allocations: 1.829 MB / 429 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.2754, allocations: 3.938 kB / 429 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.2756, allocations: 39.69 kB / 429 MB, free: 8.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.276, allocations: 119.2 kB / 429.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007124/0.2767, allocations: 258.4 kB / 429.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.2771, allocations: 294.9 kB / 429.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.2772, allocations: 5.312 kB / 429.7 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.2775, allocations: 135.6 kB / 429.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2776, allocations: 87.61 kB / 429.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.2776, allocations: 8 kB / 429.9 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.2779, allocations: 95.88 kB / 430 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.278, allocations: 39.89 kB / 430 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.2781, allocations: 75.66 kB / 430.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.2785, allocations: 211.7 kB / 430.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2785, allocations: 4 kB / 430.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2785, allocations: 0 / 430.3 MB, free: 6.871 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2785, allocations: 0 / 430.3 MB, free: 6.871 MB / 334.1 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.001017/0.2795, allocations: 417.9 kB / 430.7 MB, free: 6.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.2795, allocations: 12.03 kB / 430.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.294e-05/0.2796, allocations: 46.73 kB / 430.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.2798, allocations: 24.83 kB / 430.8 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.2801, allocations: 146.3 kB / 430.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2801, allocations: 16.64 kB / 431 MB, free: 6.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.2802, allocations: 20.33 kB / 431 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.2806, allocations: 217.3 kB / 431.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2806, allocations: 4 kB / 431.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.2806, allocations: 4 kB / 431.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2806, allocations: 8 kB / 431.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.281, allocations: 151.8 kB / 431.4 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.2824, allocations: 0.9024 MB / 432.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.2828, allocations: 142.8 kB / 432.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.283, allocations: 48.83 kB / 432.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004902/0.2835, allocations: 336.1 kB / 432.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.2835, allocations: 42.55 kB / 432.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.2835, allocations: 0 / 432.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002517/0.286, allocations: 0.7072 MB / 433.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2861, allocations: 51.41 kB / 433.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2862, allocations: 156.2 kB / 433.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/0.2863, allocations: 29.7 kB / 433.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.431e-05/0.2864, allocations: 144 kB / 433.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/0.2864, allocations: 79.38 kB / 434 MB, free: 2.961 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/0.2865, allocations: 57.7 kB / 434 MB, free: 2.898 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2867, allocations: 322.8 kB / 434.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.2869, allocations: 83.94 kB / 434.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.2873, allocations: 201.4 kB / 434.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.2878, allocations: 304.4 kB / 434.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2878, allocations: 0 / 434.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007023/0.2885, allocations: 321.3 kB / 435.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.2885, allocations: 8 kB / 435.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2886, allocations: 0 / 435.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.2886, allocations: 8 kB / 435.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.2889, allocations: 79.88 kB / 435.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.289, allocations: 7.938 kB / 435.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.2892, allocations: 28.27 kB / 435.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.2892, allocations: 12 kB / 435.4 MB, free: 1.445 MB / 334.1 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 0.000133/0.2894, allocations: 137.7 kB / 435.5 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.2894, allocations: 15.91 kB / 435.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006614/0.2901, allocations: 246.5 kB / 435.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2901, allocations: 0 / 435.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2901, allocations: 0 / 435.8 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2901, allocations: 3.984 kB / 435.8 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.2914, allocations: 0.5749 MB / 436.3 MB, free: 404 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.2914, allocations: 3.984 kB / 436.3 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.2917, allocations: 43.97 kB / 436.4 MB, free: 356 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.2917, allocations: 4 kB / 436.4 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2917, allocations: 19.86 kB / 436.4 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2917, allocations: 4.125 kB / 436.4 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.2917, allocations: 3.938 kB / 436.4 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008527/0.2926, allocations: 403.2 kB / 436.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.2926, allocations: 15.92 kB / 436.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.2926, allocations: 11.94 kB / 436.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.2929, allocations: 11.98 kB / 436.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.991e-05/0.2929, allocations: 19.98 kB / 436.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.2929, allocations: 11.98 kB / 436.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.39e-05/0.293, allocations: 110.6 kB / 437 MB, free: 15.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.293, allocations: 0 / 437 MB, free: 15.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003887/0.2934, allocations: 60 kB / 437.1 MB, free: 15.66 MB / 350.1 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.001324/0.2947, allocations: 0.976 MB / 438 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.2954, allocations: 208.3 kB / 438.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2954, allocations: 0 / 438.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.2956, allocations: 87.81 kB / 438.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.296, allocations: 47.86 kB / 438.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.2996, allocations: 2.372 MB / 440.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.2999, allocations: 0.7168 MB / 441.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.3002, allocations: 45.94 kB / 441.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3003, allocations: 51.41 kB / 441.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3003, allocations: 4 kB / 441.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.3342, allocations: 4.84 MB / 446.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.12, allocations: 8.047 kB / 446.4 MB, free: 6.203 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.71995650900135]