Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.001706/0.001706, allocations: 112.4 kB / 21.19 MB, free: 0.7031 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.001969/0.001969, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.602/1.602, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",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.002776/0.002776, allocations: 58.72 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3348, allocations: 49.15 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01523/0.3501, allocations: 16.11 MB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.3532, allocations: 1.941 MB / 414.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.3534, allocations: 6.812 kB / 414.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006531/0.3541, allocations: 171.2 kB / 414.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007661/0.3549, allocations: 314.8 kB / 414.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.3556, allocations: 289 kB / 415.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001122/0.3568, allocations: 0.8613 MB / 416.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.357, allocations: 78.27 kB / 416.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.3583, allocations: 0.5196 MB / 416.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.3588, allocations: 296.6 kB / 416.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.3589, allocations: 29.34 kB / 417 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.359, allocations: 34.66 kB / 417 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.3592, allocations: 103.5 kB / 417.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.3594, allocations: 174.5 kB / 417.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005834/0.36, allocations: 444.2 kB / 417.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.36, allocations: 1.281 kB / 417.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.36, allocations: 0 / 417.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.36, allocations: 0 / 417.7 MB, free: 10.14 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00111/0.3611, allocations: 0.5141 MB / 418.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.3612, allocations: 13.95 kB / 418.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.9e-05/0.3613, allocations: 63.38 kB / 418.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.3615, allocations: 39.66 kB / 418.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.362, allocations: 222.2 kB / 418.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.362, allocations: 19.5 kB / 418.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.3621, allocations: 29.02 kB / 418.6 MB, free: 9.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.3626, allocations: 300.5 kB / 418.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.3626, allocations: 5.281 kB / 418.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.3627, allocations: 6.719 kB / 418.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3627, allocations: 10.61 kB / 418.9 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.363, allocations: 200.4 kB / 419.1 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.3648, allocations: 1.402 MB / 420.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.3651, allocations: 172.5 kB / 420.7 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3653, allocations: 88.89 kB / 420.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.3653, allocations: 2.375 kB / 420.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3653, allocations: 33.81 kB / 420.8 MB, free: 7.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.3653, allocations: 7.875 kB / 420.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002883/0.3682, allocations: 0.8519 MB / 421.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3683, allocations: 58.14 kB / 421.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.3686, allocations: 261.2 kB / 422 MB, free: 6.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3687, allocations: 31.11 kB / 422 MB, free: 6.738 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3688, allocations: 182.5 kB / 422.2 MB, free: 6.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.3689, allocations: 102.4 kB / 422.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.369, allocations: 61.92 kB / 422.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3692, allocations: 337 kB / 422.7 MB, free: 6.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3694, allocations: 87.12 kB / 422.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.3697, allocations: 178.3 kB / 422.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.3701, allocations: 280.9 kB / 423.2 MB, free: 5.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.3701, allocations: 9 kB / 423.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007611/0.3709, allocations: 381.7 kB / 423.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3709, allocations: 6 kB / 423.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3709, allocations: 4.125 kB / 423.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002919/0.3712, allocations: 67.23 kB / 423.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.3715, allocations: 64.66 kB / 423.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002683/0.3742, allocations: 2.68 MB / 426.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.3746, allocations: 12.25 kB / 426.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.3746, allocations: 15.03 kB / 426.4 MB, free: 2.691 MB / 334.1 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.0002542/0.3748, allocations: 153.9 kB / 426.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.3749, allocations: 29.67 kB / 426.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.375, allocations: 35.8 kB / 426.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.375, allocations: 3.5 kB / 426.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.375, allocations: 1 kB / 426.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007505/0.3758, allocations: 0.5704 MB / 427.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/0.3769, allocations: 0.6673 MB / 427.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.377, allocations: 4 kB / 427.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3772, allocations: 42.33 kB / 427.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002478/0.3774, allocations: 56.19 kB / 428 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3774, allocations: 6.375 kB / 428 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.3788, allocations: 1.388 MB / 429.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3788, allocations: 5.312 kB / 429.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007334/0.3795, allocations: 475.5 kB / 429.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.3796, allocations: 24.11 kB / 429.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/0.3796, allocations: 2.75 kB / 429.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3798, allocations: 5.375 kB / 429.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.3799, allocations: 22.83 kB / 429.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3799, allocations: 9.594 kB / 429.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.3801, allocations: 188.7 kB / 430.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3801, allocations: 0 / 430.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004357/0.3805, allocations: 90 kB / 430.2 MB, free: 15.45 MB / 350.1 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.001047/0.3816, allocations: 1.009 MB / 431.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008551/0.3824, allocations: 466 kB / 431.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3824, allocations: 4.969 kB / 431.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.3828, allocations: 231.1 kB / 431.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008811/0.3837, allocations: 153.8 kB / 432 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.3881, allocations: 3.139 MB / 435.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.3886, allocations: 0.7645 MB / 435.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002564/0.3888, allocations: 50.95 kB / 436 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.389, allocations: 87.41 kB / 436.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.389, allocations: 0 / 436.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05876/0.4477, allocations: 9.079 MB / 445.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.49, allocations: 7.984 kB / 445.2 MB, free: 1.273 MB / 350.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_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_LinearColdWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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: 16.187008647000766]