Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.001342/0.001342, 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.003572/0.003572, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8856/0.8856, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.438e-05, allocations: 6.219 kB / 298.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.18/0.18, allocations: 35.27 MB / 333.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1827, allocations: 1.898 MB / 335.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.1829, allocations: 7.406 kB / 335.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005793/0.1835, allocations: 164.4 kB / 335.8 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005796/0.1841, allocations: 332.3 kB / 336.2 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.1847, allocations: 291.7 kB / 336.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008031/0.1855, allocations: 0.8508 MB / 337.3 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.1857, allocations: 75.02 kB / 337.4 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06446/0.2501, allocations: 43.98 MB / 381.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007862/0.2509, allocations: 255.2 kB / 381.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.024e-05/0.251, allocations: 32 kB / 381.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.2512, allocations: 33.03 kB / 381.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2513, allocations: 111.6 kB / 381.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.2514, allocations: 131.7 kB / 381.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.2519, allocations: 446.7 kB / 382.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2519, allocations: 0 / 382.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2519, allocations: 0 / 382.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2519, allocations: 0 / 382.3 MB, free: 10.58 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007889/0.2527, allocations: 0.517 MB / 382.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2528, allocations: 11.98 kB / 382.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.2528, allocations: 62.73 kB / 382.9 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.253, allocations: 42.98 kB / 383 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/0.2535, allocations: 233.3 kB / 383.2 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2535, allocations: 17.5 kB / 383.2 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.2535, allocations: 28.31 kB / 383.2 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.254, allocations: 453.8 kB / 383.7 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.254, allocations: 7.875 kB / 383.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.254, allocations: 12 kB / 383.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.254, allocations: 11.98 kB / 383.7 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.2543, allocations: 189.8 kB / 383.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.2556, allocations: 1.163 MB / 385.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/0.2559, allocations: 166.9 kB / 385.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.256, allocations: 84.86 kB / 385.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.256, allocations: 8 kB / 385.3 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.256, allocations: 34.56 kB / 385.4 MB, free: 7.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.256, allocations: 3.938 kB / 385.4 MB, free: 7.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.001757/0.2578, allocations: 0.8536 MB / 386.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2578, allocations: 63.39 kB / 386.3 MB, free: 6.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.258, allocations: 265.8 kB / 386.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.2581, allocations: 33.64 kB / 386.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.2582, allocations: 180.5 kB / 386.7 MB, free: 5.891 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.2582, allocations: 99.16 kB / 386.8 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.2583, allocations: 61.7 kB / 386.9 MB, free: 5.727 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003377/0.2586, allocations: 330.8 kB / 387.2 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2587, allocations: 91.89 kB / 387.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.2589, allocations: 178.9 kB / 387.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.2592, allocations: 291 kB / 387.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2592, allocations: 0 / 387.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004927/0.2597, allocations: 390.8 kB / 388.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.2597, allocations: 4 kB / 388.2 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2597, allocations: 4 kB / 388.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.2599, allocations: 66.05 kB / 388.2 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.2601, allocations: 63.91 kB / 388.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.2619, allocations: 2.661 MB / 390.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.262, allocations: 12 kB / 391 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2621, allocations: 12 kB / 391 MB, free: 1.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.2622, allocations: 153.7 kB / 391.1 MB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.2623, allocations: 31.81 kB / 391.2 MB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.2623, allocations: 38.27 kB / 391.2 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2623, allocations: 7.938 kB / 391.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.2623, allocations: 4.938 kB / 391.2 MB, free: 1.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004813/0.2628, allocations: 0.5592 MB / 391.8 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/0.2636, allocations: 0.6396 MB / 392.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2636, allocations: 3.984 kB / 392.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.2637, allocations: 39.98 kB / 392.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.2639, allocations: 56.78 kB / 392.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.2639, allocations: 15.23 kB / 392.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008958/0.2648, allocations: 1.369 MB / 393.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2648, allocations: 0 / 393.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.2656, allocations: 472.9 kB / 394.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.2657, allocations: 19.81 kB / 394.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2657, allocations: 8 kB / 394.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.2658, allocations: 8 kB / 394.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.2658, allocations: 27.83 kB / 394.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2658, allocations: 8 kB / 394.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.266, allocations: 189.2 kB / 394.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.266, allocations: 0 / 394.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.2663, allocations: 84 kB / 394.7 MB, free: 13.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007926/0.2671, allocations: 0.9955 MB / 395.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007621/0.2679, allocations: 474 kB / 396.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.2679, allocations: 4 kB / 396.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.2681, allocations: 222.6 kB / 396.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.2688, allocations: 167.1 kB / 396.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.2722, allocations: 3.084 MB / 399.6 MB, free: 8.148 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.2724, allocations: 151.9 kB / 399.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002472/0.2726, allocations: 54.92 kB / 399.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2728, allocations: 92.47 kB / 399.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of SimCode: time 1.954e-06/0.2728, allocations: 0 / 399.9 MB, free: 7.844 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.3033, allocations: 9.984 MB / 409.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.567, allocations: 0 / 409.9 MB, free: 13.81 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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: 10.3577298251912]