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.001024/0.001024, allocations: 102.3 kB / 17.58 MB, free: 5.426 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.001056/0.001056, allocations: 192.2 kB / 18.51 MB, free: 4.508 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.31/1.31, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001222/0.001222, allocations: 48.16 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08123/0.08247, allocations: 46.64 MB / 327.4 MB, free: 4.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3269/0.4094, allocations: 144 MB / 471.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.4116, allocations: 1.725 MB / 473.1 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.4118, allocations: 4 kB / 473.1 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.4123, allocations: 178.9 kB / 473.3 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004927/0.4128, allocations: 330.2 kB / 473.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008869/0.4137, allocations: 407.6 kB / 474 MB, free: 4.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.4145, allocations: 0.8483 MB / 474.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.4147, allocations: 112.6 kB / 475 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005072/0.4152, allocations: 390.7 kB / 475.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.4156, allocations: 326.9 kB / 475.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.4156, allocations: 32 kB / 475.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.4159, allocations: 143.7 kB / 475.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.416, allocations: 99.7 kB / 475.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.4162, allocations: 179.3 kB / 476.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.4167, allocations: 492.4 kB / 476.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.4167, allocations: 0 / 476.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4167, allocations: 0 / 476.6 MB, free: 1.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4167, allocations: 1.312 kB / 476.6 MB, free: 1.723 MB / 366.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.0007485/0.4175, allocations: 0.5934 MB / 477.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.4175, allocations: 12.03 kB / 477.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.145e-05/0.4176, allocations: 58.73 kB / 477.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002467/0.4178, allocations: 48.55 kB / 477.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.4182, allocations: 287.7 kB / 477.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.4182, allocations: 16.94 kB / 477.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.4182, allocations: 32.48 kB / 477.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.4187, allocations: 305.3 kB / 477.9 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4187, allocations: 0 / 477.9 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.4187, allocations: 12 kB / 478 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4188, allocations: 8 kB / 478 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.4191, allocations: 198.1 kB / 478.2 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.4207, allocations: 1.304 MB / 479.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.4211, allocations: 191.9 kB / 479.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.4213, allocations: 88.83 kB / 479.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.4214, allocations: 170.2 kB / 479.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.4214, allocations: 34.56 kB / 479.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.4215, allocations: 0 / 479.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002336/0.4238, allocations: 1.034 MB / 481 MB, free: 12.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.4238, allocations: 55.41 kB / 481 MB, free: 12.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.4241, allocations: 254.6 kB / 481.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.4241, allocations: 33.7 kB / 481.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4243, allocations: 180.1 kB / 481.5 MB, free: 12.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.4243, allocations: 94.59 kB / 481.6 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.4244, allocations: 73.38 kB / 481.6 MB, free: 12.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4246, allocations: 342.8 kB / 482 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4247, allocations: 75.97 kB / 482.1 MB, free: 11.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.4249, allocations: 179.8 kB / 482.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003578/0.4253, allocations: 279.8 kB / 482.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4253, allocations: 0 / 482.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006056/0.4259, allocations: 447.8 kB / 482.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4259, allocations: 7.984 kB / 482.9 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.4259, allocations: 4 kB / 483 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.4261, allocations: 46.11 kB / 483 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.4264, allocations: 75.84 kB / 483.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.4283, allocations: 2.77 MB / 485.8 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.4285, allocations: 8 kB / 485.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.4285, allocations: 16 kB / 485.9 MB, free: 7.625 MB / 382.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.0001515/0.4287, allocations: 165.9 kB / 486 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.4288, allocations: 31.62 kB / 486.1 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/0.4293, allocations: 358.6 kB / 486.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4293, allocations: 4 kB / 486.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.4293, allocations: 0 / 486.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00052/0.4298, allocations: 0.6149 MB / 487 MB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009269/0.4308, allocations: 0.7625 MB / 487.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4308, allocations: 0 / 487.8 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.4311, allocations: 51.95 kB / 487.8 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-05/0.4311, allocations: 24.88 kB / 487.9 MB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.4312, allocations: 11.94 kB / 487.9 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.432, allocations: 1.38 MB / 489.3 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.432, allocations: 0 / 489.3 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.4326, allocations: 0.5107 MB / 489.8 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.4327, allocations: 104.7 kB / 489.9 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.4328, allocations: 15.92 kB / 489.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.433, allocations: 4 kB / 489.9 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.433, allocations: 23.97 kB / 489.9 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.4331, allocations: 11.98 kB / 489.9 MB, free: 3.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001653/0.4332, allocations: 182 kB / 490.1 MB, free: 2.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.382e-06/0.4332, allocations: 4 kB / 490.1 MB, free: 2.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.4336, allocations: 103.9 kB / 490.2 MB, free: 2.859 MB / 382.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.001021/0.4347, allocations: 1.079 MB / 491.3 MB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006325/0.4353, allocations: 457.8 kB / 491.7 MB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.4353, allocations: 4.188 kB / 491.7 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002467/0.4356, allocations: 230.9 kB / 492 MB, free: 1.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.4364, allocations: 161.8 kB / 492.1 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.4399, allocations: 3.264 MB / 495.4 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.4402, allocations: 0.7643 MB / 496.1 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.4405, allocations: 62.88 kB / 496.2 MB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.4406, allocations: 91.41 kB / 496.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4407, allocations: 0 / 496.3 MB, free: 12.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09085/0.5315, allocations: 9.144 MB / 0.4936 GB, free: 3.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.72, allocations: 12.02 kB / 0.4936 GB, free: 3.215 MB / 398.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