Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.001208/0.001208, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.001228/0.001228, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.299/1.299, allocations: 207.6 MB / 232.5 MB, free: 3.758 MB / 174.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.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.001658/0.001658, allocations: 55.92 kB / 343 MB, free: 9.941 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08176/0.08342, allocations: 49.12 MB / 392.2 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3582/0.4416, allocations: 187.2 MB / 0.5658 GB, free: 7.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.4474, allocations: 4.806 MB / 0.5705 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.4476, allocations: 7.938 kB / 0.5705 GB, free: 2.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.4483, allocations: 258.6 kB / 0.5708 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006087/0.4489, allocations: 381.8 kB / 0.5711 GB, free: 1.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006635/0.4555, allocations: 2.877 MB / 0.5739 GB, free: 14.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.4568, allocations: 1.169 MB / 0.5751 GB, free: 13.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.457, allocations: 113.4 kB / 0.5752 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003099/0.4601, allocations: 1.472 MB / 0.5766 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005937/0.4607, allocations: 450.5 kB / 0.577 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.4608, allocations: 60 kB / 0.5771 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007215/0.4681, allocations: 4.328 MB / 0.5813 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003609/0.4684, allocations: 231.4 kB / 0.5815 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.4689, allocations: 326.9 kB / 0.5819 GB, free: 6.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005033/0.4739, allocations: 2.918 MB / 0.5847 GB, free: 3.789 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4739, allocations: 4 kB / 0.5847 GB, free: 3.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4739, allocations: 0 / 0.5847 GB, free: 3.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.4739, allocations: 0 / 0.5847 GB, free: 3.785 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002214/0.4761, allocations: 1.174 MB / 0.5859 GB, free: 2.559 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4762, allocations: 8.031 kB / 0.5859 GB, free: 2.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.4762, allocations: 13 kB / 0.5859 GB, free: 2.539 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.4763, allocations: 86.52 kB / 0.586 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.4766, allocations: 59.67 kB / 0.586 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.4771, allocations: 374.1 kB / 0.5864 GB, free: 1.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.4772, allocations: 29 kB / 0.5864 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.4773, allocations: 44 kB / 0.5864 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008717/0.4781, allocations: 0.5062 MB / 0.5869 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.4781, allocations: 7.984 kB / 0.5869 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.4782, allocations: 16 kB / 0.587 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.4782, allocations: 12 kB / 0.587 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009622/0.4792, allocations: 0.5973 MB / 0.5876 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.4824, allocations: 2.179 MB / 0.5897 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.4836, allocations: 0.5326 MB / 0.5902 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003931/0.484, allocations: 246.1 kB / 0.5904 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.4846, allocations: 0.6965 MB / 0.5911 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.4846, allocations: 43 kB / 0.5912 GB, free: 12.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 1.864e-06/0.4846, allocations: 0 / 0.5912 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.01413/0.4988, allocations: 3.639 MB / 0.5947 GB, free: 8.941 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.4988, allocations: 63.95 kB / 0.5948 GB, free: 8.867 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.4992, allocations: 290.7 kB / 0.5951 GB, free: 8.57 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.4992, allocations: 37.7 kB / 0.5951 GB, free: 8.527 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4994, allocations: 201.4 kB / 0.5953 GB, free: 8.324 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.4996, allocations: 234 kB / 0.5955 GB, free: 8.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.4998, allocations: 118.3 kB / 0.5956 GB, free: 7.973 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.5, allocations: 346.8 kB / 0.5959 GB, free: 7.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.5008, allocations: 317.1 kB / 0.5962 GB, free: 7.316 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008276/0.5016, allocations: 384.2 kB / 0.5966 GB, free: 6.922 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.5031, allocations: 0.716 MB / 0.5973 GB, free: 6.191 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.5031, allocations: 4 kB / 0.5973 GB, free: 6.188 MB / 478.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002242/0.5054, allocations: 0.9563 MB / 0.5983 GB, free: 5.215 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5054, allocations: 4 kB / 0.5983 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5054, allocations: 4 kB / 0.5983 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.5069, allocations: 334.3 kB / 0.5986 GB, free: 4.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.5075, allocations: 119.8 kB / 0.5987 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.5114, allocations: 3.708 MB / 0.6023 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/0.5119, allocations: 43.97 kB / 0.6024 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.512, allocations: 23.98 kB / 0.6024 GB, free: 0.6758 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002704/0.5123, allocations: 189.7 kB / 0.6026 GB, free: 492 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.5124, allocations: 43.77 kB / 0.6026 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.5149, allocations: 1.025 MB / 0.6036 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.5149, allocations: 15.88 kB / 0.6036 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.5149, allocations: 0 / 0.6036 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002152/0.5171, allocations: 1.067 MB / 0.6047 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.5201, allocations: 1.688 MB / 0.6063 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5201, allocations: 0 / 0.6063 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005333/0.5207, allocations: 111.8 kB / 0.6064 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001744/0.5224, allocations: 372.4 kB / 0.6068 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.5225, allocations: 23.98 kB / 0.6068 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.5238, allocations: 0.8685 MB / 0.6076 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.5238, allocations: 4.062 kB / 0.6076 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002802/0.5267, allocations: 1.334 MB / 0.6089 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.5268, allocations: 120.7 kB / 0.6091 GB, free: 9.609 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.336e-05/0.5268, allocations: 31.97 kB / 0.6091 GB, free: 9.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.5274, allocations: 35.97 kB / 0.6091 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.5275, allocations: 44.5 kB / 0.6092 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.5276, allocations: 27.97 kB / 0.6092 GB, free: 9.469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.5279, allocations: 225.9 kB / 0.6094 GB, free: 9.246 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5279, allocations: 0 / 0.6094 GB, free: 9.246 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001198/0.5291, allocations: 462.8 kB / 0.6099 GB, free: 8.793 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00427/0.5333, allocations: 2.361 MB / 0.6122 GB, free: 6.402 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.5353, allocations: 0.9622 MB / 0.6131 GB, free: 5.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5353, allocations: 0 / 0.6131 GB, free: 5.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.5363, allocations: 411.1 kB / 0.6135 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.5377, allocations: 306.8 kB / 0.6138 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01011/0.5478, allocations: 5.714 MB / 0.6194 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.5483, allocations: 0.8493 MB / 0.6202 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005248/0.5488, allocations: 140.8 kB / 0.6203 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.5491, allocations: 163.4 kB / 0.6205 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.5491, allocations: 3.938 kB / 0.6205 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05576/0.6049, allocations: 27.18 MB / 0.647 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.75, allocations: 12.02 kB / 0.647 GB, free: 2.395 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.674702538992278]