Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00169/0.00169, allocations: 108.5 kB / 21.18 MB, free: 0.5508 MB / 14.72 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.001504/0.001504, allocations: 204.2 kB / 24.48 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 207.6 MB / 235.3 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 59.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2783, allocations: 49.16 MB / 396.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005485/0.2838, allocations: 4.524 MB / 400.9 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.2857, allocations: 1.833 MB / 402.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.2858, allocations: 1.375 kB / 402.7 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.2861, allocations: 47.28 kB / 402.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.2865, allocations: 122.5 kB / 402.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007474/0.2872, allocations: 252.8 kB / 403.1 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.2877, allocations: 294.5 kB / 403.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/0.2877, allocations: 6.781 kB / 403.4 MB, free: 4.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.288, allocations: 131.8 kB / 403.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2882, allocations: 90.38 kB / 403.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.2882, allocations: 8.5 kB / 403.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.2885, allocations: 98.02 kB / 403.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.2886, allocations: 42.94 kB / 403.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.2887, allocations: 71.41 kB / 403.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.289, allocations: 222.5 kB / 404 MB, free: 3.809 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.289, allocations: 3.938 kB / 404 MB, free: 3.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.289, allocations: 1.062 kB / 404 MB, free: 3.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.289, allocations: 0 / 404 MB, free: 3.805 MB / 318.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.0009246/0.2899, allocations: 418.4 kB / 404.5 MB, free: 3.477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.29, allocations: 13.89 kB / 404.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.29, allocations: 47.27 kB / 404.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2902, allocations: 20.25 kB / 404.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.2905, allocations: 147.8 kB / 404.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2905, allocations: 10.66 kB / 404.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.2906, allocations: 18.75 kB / 404.7 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.291, allocations: 219.7 kB / 404.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.291, allocations: 7.938 kB / 404.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.291, allocations: 7.562 kB / 404.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.291, allocations: 3.719 kB / 404.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.2914, allocations: 156.2 kB / 405.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.2926, allocations: 0.8898 MB / 406 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.293, allocations: 139.9 kB / 406.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.2931, allocations: 53.17 kB / 406.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/0.2935, allocations: 338.5 kB / 406.5 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.2936, allocations: 44.98 kB / 406.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2936, allocations: 0 / 406.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002434/0.296, allocations: 0.6903 MB / 407.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.296, allocations: 53.91 kB / 407.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2961, allocations: 152.6 kB / 407.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.2962, allocations: 30.5 kB / 407.5 MB, free: 1.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.2962, allocations: 145.2 kB / 407.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.2963, allocations: 67.17 kB / 407.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.2964, allocations: 62.14 kB / 407.7 MB, free: 1.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.2964, allocations: 334.8 kB / 408.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.2967, allocations: 80.05 kB / 408.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.2969, allocations: 199.1 kB / 408.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.2974, allocations: 292.5 kB / 408.6 MB, free: 392 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2974, allocations: 1.375 kB / 408.6 MB, free: 392 kB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006396/0.2981, allocations: 334.4 kB / 409 MB, free: 240 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2981, allocations: 7.344 kB / 409 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2981, allocations: 8.5 kB / 409 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.2981, allocations: 5.438 kB / 409 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003712/0.2985, allocations: 82.12 kB / 409.1 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2985, allocations: 5.781 kB / 409.1 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.2987, allocations: 15.95 kB / 409.1 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.2988, allocations: 13.09 kB / 409.1 MB, free: 224 kB / 318.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 9.791e-05/0.2989, allocations: 147.9 kB / 409.2 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.2989, allocations: 20.25 kB / 409.3 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.2996, allocations: 235.9 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2996, allocations: 3.141 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2996, allocations: 1.219 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.2996, allocations: 1.172 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.301, allocations: 0.5777 MB / 410.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.301, allocations: 4.75 kB / 410.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3013, allocations: 51.81 kB / 410.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3013, allocations: 2.344 kB / 410.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.3013, allocations: 8.688 kB / 410.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3013, allocations: 2.406 kB / 410.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3013, allocations: 6.078 kB / 410.1 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.3022, allocations: 411.8 kB / 410.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.3022, allocations: 14.2 kB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.3023, allocations: 11.44 kB / 410.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3025, allocations: 14.58 kB / 410.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.3025, allocations: 12.06 kB / 410.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.3025, allocations: 13.16 kB / 410.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.3026, allocations: 112 kB / 410.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3026, allocations: 4 kB / 410.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.3031, allocations: 62.81 kB / 410.8 MB, free: 15.15 MB / 334.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.001323/0.3044, allocations: 0.9628 MB / 411.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.305, allocations: 213.2 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.305, allocations: 5.531 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002396/0.3053, allocations: 87.56 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3057, allocations: 39.58 kB / 412.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00368/0.3094, allocations: 2.374 MB / 414.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3097, allocations: 0.719 MB / 415.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.31, allocations: 47.5 kB / 415.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3101, allocations: 51.73 kB / 415.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3101, allocations: 3.938 kB / 415.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.3433, allocations: 4.845 MB / 420.1 MB, free: 8.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.4, allocations: 10.14 kB / 420.1 MB, free: 8.957 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.80609508499765]