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.001706/0.001706, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002169/0.002169, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.426/1.426, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.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: 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.001801/0.001801, allocations: 54.58 kB / 347.2 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 49.15 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04356/0.315, allocations: 35.39 MB / 431.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.318, allocations: 1.91 MB / 433.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3182, allocations: 15.88 kB / 433.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006001/0.3188, allocations: 159 kB / 433.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006483/0.3195, allocations: 322.2 kB / 434.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.3202, allocations: 291.4 kB / 434.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009929/0.3212, allocations: 0.8446 MB / 435.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.3214, allocations: 68.88 kB / 435.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09611/0.4175, allocations: 43.7 MB / 479.1 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.4181, allocations: 270.9 kB / 479.3 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.378e-05/0.4182, allocations: 32 kB / 479.4 MB, free: 15.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.4184, allocations: 39.98 kB / 479.4 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4185, allocations: 91.72 kB / 479.5 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.4187, allocations: 155.4 kB / 479.6 MB, free: 15.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.4193, allocations: 446.4 kB / 480.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4193, allocations: 0 / 480.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4193, allocations: 0 / 480.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4193, allocations: 0 / 480.1 MB, free: 14.91 MB / 398.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.0009863/0.4203, allocations: 0.5131 MB / 480.6 MB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4203, allocations: 11.98 kB / 480.6 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.4204, allocations: 62.72 kB / 480.7 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.4207, allocations: 44.73 kB / 480.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.4212, allocations: 225.9 kB / 480.9 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4212, allocations: 20.88 kB / 481 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.4212, allocations: 32.12 kB / 481 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/0.4219, allocations: 461.1 kB / 481.4 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.4219, allocations: 0 / 481.4 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.4219, allocations: 12 kB / 481.4 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.422, allocations: 4 kB / 481.4 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.4223, allocations: 197.6 kB / 481.6 MB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.424, allocations: 1.163 MB / 482.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.4243, allocations: 178.5 kB / 483 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.4245, allocations: 84.77 kB / 483.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.4245, allocations: 4 kB / 483.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.4246, allocations: 38.56 kB / 483.1 MB, free: 11.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.4246, allocations: 0 / 483.1 MB, free: 11.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002543/0.4271, allocations: 0.8535 MB / 484 MB, free: 10.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.4271, allocations: 51.41 kB / 484 MB, free: 10.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.4275, allocations: 265.8 kB / 484.3 MB, free: 10.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.4275, allocations: 29.7 kB / 484.3 MB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.4276, allocations: 184.5 kB / 484.5 MB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.4277, allocations: 95.16 kB / 484.6 MB, free: 10.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.4278, allocations: 65.66 kB / 484.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.428, allocations: 338.8 kB / 485 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.4281, allocations: 87.95 kB / 485.1 MB, free: 9.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.4284, allocations: 174.9 kB / 485.2 MB, free: 9.426 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.4288, allocations: 290.9 kB / 485.5 MB, free: 9.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4288, allocations: 4 kB / 485.5 MB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007164/0.4295, allocations: 378.9 kB / 485.9 MB, free: 8.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4296, allocations: 8 kB / 485.9 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.4296, allocations: 4 kB / 485.9 MB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002663/0.4298, allocations: 57.67 kB / 485.9 MB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.4301, allocations: 75.84 kB / 486 MB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.4328, allocations: 2.676 MB / 488.7 MB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.4331, allocations: 8.219 kB / 488.7 MB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.4331, allocations: 20 kB / 488.7 MB, free: 5.633 MB / 398.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.000211/0.4333, allocations: 149.7 kB / 488.9 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.4334, allocations: 27.81 kB / 488.9 MB, free: 5.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/0.4335, allocations: 38.27 kB / 488.9 MB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4335, allocations: 0 / 488.9 MB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.4335, allocations: 7.938 kB / 488.9 MB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007278/0.4342, allocations: 0.5631 MB / 489.5 MB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.4354, allocations: 0.6355 MB / 490.1 MB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4354, allocations: 3.938 kB / 490.1 MB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.4356, allocations: 43.92 kB / 490.2 MB, free: 4.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/0.4358, allocations: 48.8 kB / 490.2 MB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.4358, allocations: 11.98 kB / 490.2 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.4373, allocations: 1.381 MB / 491.6 MB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4373, allocations: 0 / 491.6 MB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.438, allocations: 474.1 kB / 492.1 MB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.4381, allocations: 23.89 kB / 492.1 MB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.4381, allocations: 8.125 kB / 492.1 MB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.4383, allocations: 8 kB / 492.1 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.4384, allocations: 31.83 kB / 492.2 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.4384, allocations: 8 kB / 492.2 MB, free: 1.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.4386, allocations: 185.2 kB / 492.4 MB, free: 1.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4386, allocations: 0 / 492.4 MB, free: 1.711 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.439, allocations: 88 kB / 492.4 MB, free: 1.625 MB / 398.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.001092/0.4401, allocations: 1.003 MB / 493.4 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008716/0.441, allocations: 465 kB / 493.9 MB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.441, allocations: 0 / 493.9 MB, free: 112 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004177/0.4414, allocations: 231.3 kB / 494.1 MB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.4424, allocations: 161.5 kB / 494.3 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.4468, allocations: 3.145 MB / 497.4 MB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.4469, allocations: 155.8 kB / 497.6 MB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.4472, allocations: 50.94 kB / 497.6 MB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4473, allocations: 87.41 kB / 497.7 MB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4473, allocations: 4 kB / 497.7 MB, free: 12.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04439/0.4917, allocations: 9.855 MB / 0.4957 GB, free: 2.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/12.97, allocations: 11.89 kB / 0.4957 GB, free: 2.141 MB / 414.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/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/jenkins1/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: 15.4013392329216]