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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 113.2 kB / 17.73 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 184.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB 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.001597/0.001597, allocations: 55.91 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08476, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3022/0.387, allocations: 144 MB / 0.5066 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.3897, allocations: 1.723 MB / 0.5082 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.3899, allocations: 4 kB / 0.5082 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.3906, allocations: 178.9 kB / 0.5084 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005718/0.3912, allocations: 322.2 kB / 0.5087 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009461/0.3922, allocations: 423.1 kB / 0.5091 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000861/0.393, allocations: 0.8446 MB / 0.5099 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.3932, allocations: 96.67 kB / 0.51 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.3939, allocations: 410.6 kB / 0.5104 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004471/0.3944, allocations: 314.9 kB / 0.5107 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.3944, allocations: 32 kB / 0.5108 GB, free: 11.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.3948, allocations: 139.6 kB / 0.5109 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.3949, allocations: 99.72 kB / 0.511 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3951, allocations: 187.3 kB / 0.5112 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005561/0.3957, allocations: 492.9 kB / 0.5116 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3957, allocations: 0 / 0.5116 GB, free: 10.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3957, allocations: 0 / 0.5116 GB, free: 10.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3957, allocations: 0 / 0.5116 GB, free: 10.31 MB / 446.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.0008324/0.3965, allocations: 0.6 MB / 0.5122 GB, free: 9.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3966, allocations: 9.531 kB / 0.5122 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.048e-05/0.3967, allocations: 62.73 kB / 0.5123 GB, free: 9.582 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002589/0.3969, allocations: 48.73 kB / 0.5123 GB, free: 9.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.3973, allocations: 295.8 kB / 0.5126 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3974, allocations: 20.94 kB / 0.5126 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.3974, allocations: 24.56 kB / 0.5127 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.3979, allocations: 301.3 kB / 0.5129 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3979, allocations: 4 kB / 0.513 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.398, allocations: 12 kB / 0.513 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.398, allocations: 4 kB / 0.513 GB, free: 8.832 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.3983, allocations: 206.1 kB / 0.5132 GB, free: 8.633 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.4, allocations: 1.285 MB / 0.5144 GB, free: 7.223 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.4004, allocations: 203.4 kB / 0.5146 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.4006, allocations: 93.45 kB / 0.5147 GB, free: 6.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.4007, allocations: 174.1 kB / 0.5149 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.4008, allocations: 34.56 kB / 0.5149 GB, free: 6.672 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.933e-06/0.4008, allocations: 0 / 0.5149 GB, free: 6.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002453/0.4033, allocations: 1.046 MB / 0.5159 GB, free: 5.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4033, allocations: 55.41 kB / 0.516 GB, free: 5.461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.4036, allocations: 258.6 kB / 0.5162 GB, free: 5.199 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.4036, allocations: 29.7 kB / 0.5163 GB, free: 5.164 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.4038, allocations: 180.5 kB / 0.5164 GB, free: 4.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.353e-05/0.4039, allocations: 103.2 kB / 0.5165 GB, free: 4.883 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.404, allocations: 65.66 kB / 0.5166 GB, free: 4.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4041, allocations: 334.8 kB / 0.5169 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.4043, allocations: 79.97 kB / 0.517 GB, free: 4.398 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.4045, allocations: 183.7 kB / 0.5172 GB, free: 4.176 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.4049, allocations: 284.8 kB / 0.5174 GB, free: 3.855 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4049, allocations: 7.938 kB / 0.5174 GB, free: 3.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000618/0.4055, allocations: 447.9 kB / 0.5179 GB, free: 3.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4055, allocations: 4.406 kB / 0.5179 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4056, allocations: 8 kB / 0.5179 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.4057, allocations: 37.7 kB / 0.5179 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.406, allocations: 79.89 kB / 0.518 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.4081, allocations: 2.759 MB / 0.5207 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.4083, allocations: 18.3 kB / 0.5207 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.4083, allocations: 12 kB / 0.5207 GB, free: 184 kB / 446.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.0001672/0.4085, allocations: 165.7 kB / 0.5209 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.4086, allocations: 31.86 kB / 0.5209 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.4091, allocations: 355.2 kB / 0.5212 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4092, allocations: 4 kB / 0.5212 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.4092, allocations: 0 / 0.5212 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005765/0.4097, allocations: 0.6191 MB / 0.5218 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.4107, allocations: 0.7553 MB / 0.5226 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4107, allocations: 4 kB / 0.5226 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.411, allocations: 55.91 kB / 0.5226 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.398e-05/0.4111, allocations: 24.88 kB / 0.5227 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4111, allocations: 7.984 kB / 0.5227 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009555/0.4121, allocations: 1.382 MB / 0.524 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4121, allocations: 0 / 0.524 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/0.4127, allocations: 0.5148 MB / 0.5245 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.4128, allocations: 113 kB / 0.5246 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.4129, allocations: 4 kB / 0.5246 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.4131, allocations: 8 kB / 0.5246 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.4131, allocations: 19.59 kB / 0.5247 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.4132, allocations: 15.98 kB / 0.5247 GB, free: 11.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.4134, allocations: 189.9 kB / 0.5249 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4134, allocations: 0 / 0.5249 GB, free: 11.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004215/0.4138, allocations: 103.9 kB / 0.525 GB, free: 11.41 MB / 462.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.001085/0.4149, allocations: 1.098 MB / 0.526 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006615/0.4156, allocations: 453 kB / 0.5265 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4156, allocations: 0 / 0.5265 GB, free: 9.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.4159, allocations: 219.4 kB / 0.5267 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.4167, allocations: 159.1 kB / 0.5268 GB, free: 9.414 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003753/0.4205, allocations: 3.251 MB / 0.53 GB, free: 5.953 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4209, allocations: 0.7645 MB / 0.5307 GB, free: 5.164 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002347/0.4211, allocations: 58.94 kB / 0.5308 GB, free: 5.102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.4213, allocations: 87.41 kB / 0.5309 GB, free: 5.016 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4213, allocations: 0 / 0.5309 GB, free: 5.016 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03879/0.4601, allocations: 9.286 MB / 0.54 GB, free: 11.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.19, allocations: 4.562 kB / 0.54 GB, free: 11.66 MB / 478.1 MB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_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/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches