Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.348/1.348, allocations: 207.6 MB / 231.8 MB, free: 4.082 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 55.91 kB / 342.3 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08436/0.08596, allocations: 49.11 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.323/0.4089, allocations: 144.5 MB / 0.5233 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.4113, allocations: 1.74 MB / 0.525 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.4114, allocations: 1.844 kB / 0.525 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005825/0.412, allocations: 180.7 kB / 0.5252 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.4126, allocations: 331.5 kB / 0.5255 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009231/0.4135, allocations: 416.9 kB / 0.5259 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007602/0.4143, allocations: 0.8493 MB / 0.5268 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.4144, allocations: 75.09 kB / 0.5268 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005439/0.415, allocations: 398.7 kB / 0.5272 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003972/0.4154, allocations: 346.9 kB / 0.5275 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.4154, allocations: 33.25 kB / 0.5276 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.4157, allocations: 141.2 kB / 0.5277 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.4158, allocations: 102.1 kB / 0.5278 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.416, allocations: 188.1 kB / 0.528 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.4165, allocations: 485.9 kB / 0.5284 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.4165, allocations: 3.938 kB / 0.5284 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4165, allocations: 2.5 kB / 0.5284 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.4165, allocations: 0 / 0.5284 GB, free: 12.87 MB / 414.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.0008774/0.4174, allocations: 0.6088 MB / 0.529 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.4174, allocations: 8.031 kB / 0.529 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.968e-05/0.4175, allocations: 58.72 kB / 0.5291 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.4178, allocations: 48.75 kB / 0.5292 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.4182, allocations: 291.8 kB / 0.5294 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.4182, allocations: 20.94 kB / 0.5294 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.4183, allocations: 24.56 kB / 0.5295 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.4188, allocations: 309.3 kB / 0.5298 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.4188, allocations: 4 kB / 0.5298 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.4188, allocations: 8 kB / 0.5298 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4189, allocations: 8 kB / 0.5298 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.4192, allocations: 202.1 kB / 0.53 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.421, allocations: 1.289 MB / 0.5312 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.4213, allocations: 182.6 kB / 0.5314 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.4215, allocations: 84.83 kB / 0.5315 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.4217, allocations: 166.2 kB / 0.5317 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.4217, allocations: 38.56 kB / 0.5317 GB, free: 9.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.4217, allocations: 0 / 0.5317 GB, free: 9.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=26): time 0.002428/0.4241, allocations: 1.038 MB / 0.5327 GB, free: 8.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.4242, allocations: 55.41 kB / 0.5328 GB, free: 8.105 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.4244, allocations: 258.6 kB / 0.533 GB, free: 7.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.4245, allocations: 37.7 kB / 0.533 GB, free: 7.801 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4246, allocations: 176.5 kB / 0.5332 GB, free: 7.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/0.4247, allocations: 99.16 kB / 0.5333 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.4248, allocations: 69.64 kB / 0.5334 GB, free: 7.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4249, allocations: 338.8 kB / 0.5337 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4251, allocations: 75.97 kB / 0.5338 GB, free: 7.039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.4253, allocations: 179.8 kB / 0.5339 GB, free: 6.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.4257, allocations: 287.8 kB / 0.5342 GB, free: 6.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4257, allocations: 4 kB / 0.5342 GB, free: 6.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006444/0.4264, allocations: 444.2 kB / 0.5346 GB, free: 6.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4264, allocations: 4 kB / 0.5346 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4264, allocations: 11.88 kB / 0.5347 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.4265, allocations: 45.69 kB / 0.5347 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.4269, allocations: 75.91 kB / 0.5348 GB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.4291, allocations: 2.76 MB / 0.5375 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.4293, allocations: 8 kB / 0.5375 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.4293, allocations: 20.09 kB / 0.5375 GB, free: 2.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.4295, allocations: 163.5 kB / 0.5376 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-05/0.4295, allocations: 35.81 kB / 0.5377 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/0.4301, allocations: 346.7 kB / 0.538 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4301, allocations: 4 kB / 0.538 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4301, allocations: 4 kB / 0.538 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005945/0.4307, allocations: 0.6308 MB / 0.5386 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4317, allocations: 0.7473 MB / 0.5394 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4317, allocations: 0 / 0.5394 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.432, allocations: 59.92 kB / 0.5394 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-05/0.4321, allocations: 24.84 kB / 0.5394 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.4321, allocations: 11.94 kB / 0.5395 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.4331, allocations: 1.375 MB / 0.5408 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4331, allocations: 0 / 0.5408 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.4338, allocations: 0.5149 MB / 0.5413 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.4339, allocations: 104.9 kB / 0.5414 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4339, allocations: 4 kB / 0.5414 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.4341, allocations: 11.98 kB / 0.5414 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.4342, allocations: 15.98 kB / 0.5414 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.4342, allocations: 15.98 kB / 0.5414 GB, free: 14.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001789/0.4344, allocations: 186 kB / 0.5416 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4344, allocations: 0 / 0.5416 GB, free: 14.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.4348, allocations: 108 kB / 0.5417 GB, free: 14.05 MB / 430.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 (25): * Single equations (assignments): 24 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.4359, allocations: 1.091 MB / 0.5428 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006628/0.4366, allocations: 445 kB / 0.5432 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4366, allocations: 8.641 kB / 0.5432 GB, free: 12.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.4368, allocations: 210.6 kB / 0.5434 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.4377, allocations: 181.9 kB / 0.5436 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00395/0.4416, allocations: 3.231 MB / 0.5468 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.4421, allocations: 0.7645 MB / 0.5475 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000229/0.4423, allocations: 54.94 kB / 0.5476 GB, free: 7.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.4424, allocations: 91.41 kB / 0.5476 GB, free: 7.672 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4424, allocations: 0 / 0.5476 GB, free: 7.672 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.4826, allocations: 9.351 MB / 0.5568 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.18, allocations: 7.922 kB / 0.5568 GB, free: 14.25 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.468987218104303]