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.0008787/0.0008787, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00617/0.00617, allocations: 164.6 kB / 24.69 MB, free: 9.43 MB / 18.57 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 0.9162/0.9162, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.834e-05, allocations: 2.281 kB / 298.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4976/0.4976, allocations: 161.6 MB / 460.1 MB, free: 1.496 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004337/0.502, allocations: 4.347 MB / 464.5 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.5021, allocations: 8.891 kB / 464.5 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.5028, allocations: 235.3 kB / 464.7 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005178/0.5033, allocations: 402.6 kB / 465.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005885/0.5092, allocations: 2.958 MB / 468.1 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.5104, allocations: 1.179 MB / 469.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.5106, allocations: 93.56 kB / 469.3 MB, free: 1.391 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.5133, allocations: 1.646 MB / 471 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.5137, allocations: 402 kB / 471.4 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.755e-05/0.5138, allocations: 62.59 kB / 471.4 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004749/0.5186, allocations: 3.504 MB / 474.9 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.5188, allocations: 248.9 kB / 475.2 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.519, allocations: 246.2 kB / 475.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.5218, allocations: 3.181 MB / 478.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5218, allocations: 0 / 478.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5218, allocations: 0.875 kB / 478.6 MB, free: 1.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.5218, allocations: 0 / 478.6 MB, free: 1.008 MB / 410.7 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.001444/0.5233, allocations: 1.086 MB / 479.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5233, allocations: 18.7 kB / 479.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.891e-05/0.5234, allocations: 93.92 kB / 479.8 MB, free: 16.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.5236, allocations: 60.53 kB / 479.9 MB, free: 16.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.5239, allocations: 312.5 kB / 480.2 MB, free: 16.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.5239, allocations: 31.47 kB / 480.2 MB, free: 16.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/0.524, allocations: 48.86 kB / 480.2 MB, free: 16.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.5246, allocations: 0.8079 MB / 481 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.5247, allocations: 0 / 481 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.5247, allocations: 19.28 kB / 481.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.5247, allocations: 11.78 kB / 481.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.5253, allocations: 0.5872 MB / 481.7 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.5269, allocations: 1.324 MB / 483 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.5277, allocations: 0.5235 MB / 483.5 MB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.5279, allocations: 247.7 kB / 483.7 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.528, allocations: 94.16 kB / 483.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.5281, allocations: 50.58 kB / 483.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 1.774e-06/0.5281, allocations: 0 / 483.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.006707/0.5348, allocations: 3.423 MB / 487.3 MB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5348, allocations: 57.84 kB / 487.4 MB, free: 14.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.535, allocations: 301.1 kB / 487.7 MB, free: 14.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.5351, allocations: 38.55 kB / 487.7 MB, free: 14.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.5352, allocations: 194.5 kB / 487.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.5353, allocations: 235.2 kB / 488.1 MB, free: 14.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.5354, allocations: 114.5 kB / 488.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5355, allocations: 357.4 kB / 488.6 MB, free: 14.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.5359, allocations: 311.7 kB / 488.9 MB, free: 14.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004696/0.5364, allocations: 389.6 kB / 489.3 MB, free: 14.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/0.5373, allocations: 0.7055 MB / 490 MB, free: 14.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5373, allocations: 4.219 kB / 490 MB, free: 14.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00124/0.5386, allocations: 0.9629 MB / 490.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5386, allocations: 3.469 kB / 490.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5386, allocations: 3.156 kB / 490.9 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007554/0.5394, allocations: 339.8 kB / 491.3 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.5396, allocations: 124.5 kB / 491.4 MB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.5419, allocations: 3.483 MB / 494.9 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.5421, allocations: 41.28 kB / 494.9 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.5422, allocations: 26.14 kB / 494.9 MB, free: 10.96 MB / 426.7 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.0001941/0.5424, allocations: 193.5 kB / 495.1 MB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.5424, allocations: 48.58 kB / 495.2 MB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.5439, allocations: 1.015 MB / 496.2 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5439, allocations: 7.469 kB / 496.2 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5439, allocations: 4.875 kB / 496.2 MB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/0.5451, allocations: 1.07 MB / 497.3 MB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.5469, allocations: 1.559 MB / 498.8 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.5469, allocations: 0.7812 kB / 498.8 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002802/0.5472, allocations: 112.8 kB / 499 MB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008581/0.5481, allocations: 371.9 kB / 499.3 MB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.5481, allocations: 24.41 kB / 499.3 MB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007385/0.5488, allocations: 0.8734 MB / 0.4885 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5488, allocations: 2.875 kB / 0.4885 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.5504, allocations: 1.335 MB / 0.4898 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.5504, allocations: 48.02 kB / 0.4898 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.5505, allocations: 20.78 kB / 0.4899 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.5507, allocations: 42.22 kB / 0.4899 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.5508, allocations: 45.75 kB / 0.4899 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.5508, allocations: 32.09 kB / 0.49 GB, free: 9.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.551, allocations: 222.9 kB / 0.4902 GB, free: 9.199 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.551, allocations: 1.031 kB / 0.4902 GB, free: 9.199 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001377/0.5524, allocations: 462.9 kB / 0.4906 GB, free: 9.121 MB / 426.7 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.002729/0.5551, allocations: 2.389 MB / 0.493 GB, free: 8.312 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.5563, allocations: 0.9644 MB / 0.4939 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5563, allocations: 4.656 kB / 0.4939 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.5569, allocations: 407.7 kB / 0.4943 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/0.5577, allocations: 305 kB / 0.4946 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006604/0.5643, allocations: 5.661 MB / 0.5001 GB, free: 6.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.5645, allocations: 251.7 kB / 0.5004 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003827/0.5649, allocations: 124.1 kB / 0.5005 GB, free: 6.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.5651, allocations: 165.7 kB / 0.5006 GB, free: 6.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5651, allocations: 0 / 0.5006 GB, free: 6.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.6144, allocations: 28.26 MB / 0.5282 GB, free: 14.04 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/9.331, allocations: 8.062 kB / 0.5282 GB, free: 14.03 MB / 458.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_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_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.csv","/var/lib/jenkins/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/jenkins/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: 11.249541146680713]