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.001243/0.001243, allocations: 114.3 kB / 19.16 MB, free: 3.922 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.001363/0.001363, allocations: 202.3 kB / 22.12 MB, free: 0.9805 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.287/1.287, allocations: 207.6 MB / 232.5 MB, free: 11.5 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.001686/0.001686, allocations: 55.92 kB / 343 MB, free: 12.33 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2366, allocations: 49.13 MB / 392.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04054/0.2772, allocations: 39.44 MB / 431.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.2798, allocations: 2.05 MB / 433.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2799, allocations: 8.375 kB / 433.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.2804, allocations: 162.9 kB / 433.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.281, allocations: 327.4 kB / 434.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.2816, allocations: 283.8 kB / 434.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008335/0.2824, allocations: 0.8456 MB / 435.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2826, allocations: 68.55 kB / 435.3 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09231/0.3749, allocations: 44.19 MB / 479.5 MB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006102/0.3755, allocations: 294.9 kB / 479.8 MB, free: 12.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.358e-05/0.3756, allocations: 28 kB / 479.8 MB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.3758, allocations: 40 kB / 479.9 MB, free: 12.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3759, allocations: 95.66 kB / 480 MB, free: 11.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.3761, allocations: 183.2 kB / 480.1 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000535/0.3766, allocations: 438.4 kB / 480.6 MB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3766, allocations: 4 kB / 480.6 MB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3766, allocations: 0 / 480.6 MB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3766, allocations: 4 kB / 480.6 MB, free: 11.33 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.0009619/0.3776, allocations: 0.5806 MB / 481.2 MB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3776, allocations: 12.03 kB / 481.2 MB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.291e-05/0.3777, allocations: 8.75 kB / 481.2 MB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.004e-05/0.3777, allocations: 66.72 kB / 481.2 MB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002524/0.378, allocations: 36.75 kB / 481.3 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004468/0.3784, allocations: 291.8 kB / 481.6 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3785, allocations: 16.94 kB / 481.6 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.3785, allocations: 27.94 kB / 481.6 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.379, allocations: 311.7 kB / 481.9 MB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.379, allocations: 0 / 481.9 MB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.379, allocations: 12 kB / 481.9 MB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.379, allocations: 8 kB / 481.9 MB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003596/0.3794, allocations: 189.6 kB / 482.1 MB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.3812, allocations: 1.44 MB / 483.6 MB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/0.3815, allocations: 166.6 kB / 483.7 MB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3816, allocations: 88.77 kB / 483.8 MB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3816, allocations: 4 kB / 483.8 MB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3817, allocations: 38.56 kB / 483.8 MB, free: 7.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.3817, allocations: 0 / 483.8 MB, free: 7.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002504/0.3842, allocations: 1.004 MB / 484.9 MB, free: 6.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3842, allocations: 59.39 kB / 484.9 MB, free: 6.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3845, allocations: 262.5 kB / 485.2 MB, free: 6.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3845, allocations: 29.7 kB / 485.2 MB, free: 6.348 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3847, allocations: 180.5 kB / 485.4 MB, free: 6.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.3847, allocations: 103.2 kB / 485.5 MB, free: 6.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-05/0.3848, allocations: 61.66 kB / 485.5 MB, free: 6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.385, allocations: 342.8 kB / 485.9 MB, free: 5.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.3851, allocations: 83.97 kB / 486 MB, free: 5.574 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.3854, allocations: 178.9 kB / 486.1 MB, free: 5.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.3858, allocations: 283 kB / 486.4 MB, free: 5.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3858, allocations: 0 / 486.4 MB, free: 5.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000673/0.3865, allocations: 386.8 kB / 486.8 MB, free: 4.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3865, allocations: 8 kB / 486.8 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3865, allocations: 0 / 486.8 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/0.3867, allocations: 66.05 kB / 486.9 MB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.387, allocations: 67.91 kB / 486.9 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.3895, allocations: 2.89 MB / 489.8 MB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.3897, allocations: 12 kB / 489.8 MB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3897, allocations: 12 kB / 489.8 MB, free: 1.312 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.0001749/0.3899, allocations: 159.1 kB / 490 MB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/0.3899, allocations: 23.86 kB / 490 MB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.39, allocations: 38.17 kB / 490 MB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.39, allocations: 0 / 490 MB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.39, allocations: 7.938 kB / 490.1 MB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006581/0.3907, allocations: 0.5591 MB / 490.6 MB, free: 440 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3918, allocations: 0.7033 MB / 491.3 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3918, allocations: 0 / 491.3 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.392, allocations: 47.91 kB / 491.4 MB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.3922, allocations: 52.75 kB / 491.4 MB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3922, allocations: 8.031 kB / 491.4 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.3935, allocations: 1.492 MB / 492.9 MB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3935, allocations: 0 / 492.9 MB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.3943, allocations: 477.6 kB / 493.4 MB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.3943, allocations: 100.9 kB / 493.5 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3944, allocations: 12.12 kB / 493.5 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3946, allocations: 8 kB / 493.5 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.3946, allocations: 23.86 kB / 493.5 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.3946, allocations: 7.984 kB / 493.5 MB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.3948, allocations: 190 kB / 493.7 MB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3948, allocations: 0 / 493.7 MB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.3952, allocations: 84 kB / 493.8 MB, free: 13 MB / 414.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.001073/0.3963, allocations: 0.9989 MB / 494.8 MB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008507/0.3971, allocations: 470.3 kB / 495.3 MB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3971, allocations: 0 / 495.3 MB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.3975, allocations: 234.4 kB / 495.5 MB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.3984, allocations: 164.5 kB / 495.6 MB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.4026, allocations: 3.149 MB / 498.8 MB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.4031, allocations: 0.7645 MB / 499.6 MB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.4033, allocations: 50.94 kB / 499.6 MB, free: 6.914 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4035, allocations: 91.34 kB / 499.7 MB, free: 6.824 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4035, allocations: 4 kB / 499.7 MB, free: 6.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.4391, allocations: 8.844 MB / 0.4966 GB, free: 13.91 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.05, allocations: 27.72 kB / 0.4967 GB, free: 13.89 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.411515665997285]