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.001423/0.001423, allocations: 99.08 kB / 21.95 MB, free: 5.219 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.001441/0.001441, allocations: 213.5 kB / 25.26 MB, free: 3.129 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.253/1.253, allocations: 207.7 MB / 236.1 MB, free: 9.785 MB / 190.1 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="cs",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="cs",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.001609/0.001609, allocations: 58.58 kB / 348 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2195, allocations: 49.15 MB / 397.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0365/0.256, allocations: 35.37 MB / 432.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.2586, allocations: 1.899 MB / 434.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.2587, allocations: 7.938 kB / 434.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.2592, allocations: 162.9 kB / 434.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000561/0.2598, allocations: 322.3 kB / 434.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.2604, allocations: 291.4 kB / 435.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008565/0.2613, allocations: 0.8563 MB / 436.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.2614, allocations: 72.89 kB / 436.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09815/0.3596, allocations: 43.7 MB / 479.8 MB, free: 15.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/0.3601, allocations: 294.9 kB / 480.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.3602, allocations: 32 kB / 480.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3604, allocations: 36 kB / 480.2 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3605, allocations: 91.66 kB / 480.3 MB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.3607, allocations: 159.4 kB / 480.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.3612, allocations: 438.4 kB / 480.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3612, allocations: 3.938 kB / 480.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3612, allocations: 4 kB / 480.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3612, allocations: 0 / 480.9 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.0008583/0.3621, allocations: 0.5131 MB / 481.4 MB, free: 14.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3621, allocations: 11.98 kB / 481.4 MB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.207e-05/0.3621, allocations: 8.688 kB / 481.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.203e-05/0.3622, allocations: 62.73 kB / 481.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.3625, allocations: 44.73 kB / 481.5 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3628, allocations: 229.9 kB / 481.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.3629, allocations: 19.5 kB / 481.7 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.3629, allocations: 24 kB / 481.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.3635, allocations: 457.1 kB / 482.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3635, allocations: 4 kB / 482.2 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.3635, allocations: 12 kB / 482.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3635, allocations: 8 kB / 482.2 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.3638, allocations: 201.5 kB / 482.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.3654, allocations: 1.16 MB / 483.6 MB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.3657, allocations: 170.6 kB / 483.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.3658, allocations: 84.83 kB / 483.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3658, allocations: 0 / 483.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3659, allocations: 38.94 kB / 483.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 2.885e-06/0.3659, allocations: 3.984 kB / 483.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002373/0.3683, allocations: 0.8532 MB / 484.7 MB, free: 10.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3683, allocations: 55.41 kB / 484.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.3686, allocations: 257.8 kB / 485 MB, free: 10.44 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.3686, allocations: 29.7 kB / 485.1 MB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.3687, allocations: 184.5 kB / 485.3 MB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.3688, allocations: 95.17 kB / 485.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.3689, allocations: 65.64 kB / 485.4 MB, free: 10.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.369, allocations: 338.8 kB / 485.7 MB, free: 9.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3692, allocations: 87.97 kB / 485.8 MB, free: 9.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.3694, allocations: 178.8 kB / 486 MB, free: 9.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3698, allocations: 283 kB / 486.3 MB, free: 9.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3698, allocations: 4 kB / 486.3 MB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000669/0.3705, allocations: 375.2 kB / 486.6 MB, free: 8.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3705, allocations: 15.97 kB / 486.7 MB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3705, allocations: 4 kB / 486.7 MB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/0.3707, allocations: 61.61 kB / 486.7 MB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.371, allocations: 75.91 kB / 486.8 MB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.3734, allocations: 2.672 MB / 489.5 MB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3736, allocations: 8 kB / 489.5 MB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/0.3736, allocations: 19.94 kB / 489.5 MB, free: 5.625 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.0001563/0.3737, allocations: 153.8 kB / 489.6 MB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.3738, allocations: 31.75 kB / 489.7 MB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.46e-05/0.3739, allocations: 38.27 kB / 489.7 MB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3739, allocations: 4 kB / 489.7 MB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.3739, allocations: 0 / 489.7 MB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006416/0.3745, allocations: 0.567 MB / 490.3 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.3756, allocations: 0.6315 MB / 490.9 MB, free: 4.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3756, allocations: 3.969 kB / 490.9 MB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.3758, allocations: 43.92 kB / 491 MB, free: 3.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.376, allocations: 52.78 kB / 491 MB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.3761, allocations: 8 kB / 491 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.3773, allocations: 1.381 MB / 492.4 MB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3773, allocations: 0 / 492.4 MB, free: 2.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.378, allocations: 473.7 kB / 492.9 MB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.378, allocations: 23.89 kB / 492.9 MB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.3781, allocations: 15.92 kB / 492.9 MB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.3783, allocations: 4 kB / 492.9 MB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.3783, allocations: 15.97 kB / 492.9 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.3783, allocations: 15.98 kB / 492.9 MB, free: 1.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.3785, allocations: 181.3 kB / 493.1 MB, free: 1.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3785, allocations: 0 / 493.1 MB, free: 1.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.3789, allocations: 92 kB / 493.2 MB, free: 1.617 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.001023/0.3799, allocations: 1.007 MB / 494.2 MB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007501/0.3807, allocations: 465.9 kB / 494.7 MB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3807, allocations: 0 / 494.7 MB, free: 100 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.3811, allocations: 226.5 kB / 494.9 MB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008457/0.3819, allocations: 161.5 kB / 495.1 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.386, allocations: 3.149 MB / 498.2 MB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.3861, allocations: 159.9 kB / 498.4 MB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.3863, allocations: 50.92 kB / 498.4 MB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3865, allocations: 83.42 kB / 498.5 MB, free: 12.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3865, allocations: 0 / 498.5 MB, free: 12.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.4236, allocations: 9.61 MB / 0.4962 GB, free: 2.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/12.75, allocations: 11.86 kB / 0.4962 GB, free: 2.391 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.08518797508441]