Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.001446/0.001446, 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.001506/0.001506, allocations: 202.3 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.259/1.259, allocations: 207.6 MB / 232.5 MB, free: 3.934 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.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001635/0.001635, allocations: 51.92 kB / 343 MB, free: 9.965 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07943, allocations: 49.13 MB / 392.2 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3347/0.4142, allocations: 173.3 MB / 0.5522 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003876/0.418, allocations: 3.23 MB / 0.5554 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.4182, allocations: 7.938 kB / 0.5554 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.4187, allocations: 178.9 kB / 0.5556 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007601/0.4194, allocations: 425.4 kB / 0.556 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007436/0.4202, allocations: 344.7 kB / 0.5563 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000886/0.4211, allocations: 0.8915 MB / 0.5572 GB, free: 76 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.4212, allocations: 76.7 kB / 0.5572 GB, free: 4 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.4227, allocations: 0.8001 MB / 0.558 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.4231, allocations: 290.9 kB / 0.5583 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.4231, allocations: 31.94 kB / 0.5583 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.4234, allocations: 127.9 kB / 0.5584 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.4235, allocations: 95.66 kB / 0.5585 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.4237, allocations: 187.3 kB / 0.5587 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006117/0.4243, allocations: 0.5138 MB / 0.5592 GB, free: 13.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4243, allocations: 3.984 kB / 0.5592 GB, free: 13.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4243, allocations: 0 / 0.5592 GB, free: 13.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4243, allocations: 0 / 0.5592 GB, free: 13.96 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.0008604/0.4252, allocations: 0.596 MB / 0.5598 GB, free: 13.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.4252, allocations: 8.031 kB / 0.5598 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.638e-05/0.4252, allocations: 8.562 kB / 0.5598 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.001e-05/0.4253, allocations: 62.53 kB / 0.5599 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002571/0.4255, allocations: 39.81 kB / 0.5599 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.426, allocations: 298.5 kB / 0.5602 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.426, allocations: 20.5 kB / 0.5602 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.426, allocations: 24 kB / 0.5602 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.4266, allocations: 319.7 kB / 0.5605 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4266, allocations: 7.938 kB / 0.5606 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.4267, allocations: 12 kB / 0.5606 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.4267, allocations: 8 kB / 0.5606 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003353/0.427, allocations: 197.6 kB / 0.5608 GB, free: 12.26 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.4289, allocations: 1.597 MB / 0.5623 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.4292, allocations: 171.8 kB / 0.5625 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.4293, allocations: 92.83 kB / 0.5626 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.4294, allocations: 4 kB / 0.5626 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4294, allocations: 42.44 kB / 0.5626 GB, free: 10.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.4294, allocations: 0 / 0.5626 GB, free: 10.19 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005505/0.4349, allocations: 1.619 MB / 0.5642 GB, free: 8.438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.4349, allocations: 55.41 kB / 0.5643 GB, free: 8.371 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4352, allocations: 253 kB / 0.5645 GB, free: 8.117 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.4352, allocations: 33.7 kB / 0.5645 GB, free: 8.078 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.4354, allocations: 180.5 kB / 0.5647 GB, free: 7.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.729e-05/0.4354, allocations: 103.1 kB / 0.5648 GB, free: 7.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.4356, allocations: 81.64 kB / 0.5649 GB, free: 7.711 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4357, allocations: 342.8 kB / 0.5652 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.4359, allocations: 89.08 kB / 0.5653 GB, free: 7.281 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.4361, allocations: 187.8 kB / 0.5655 GB, free: 7.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.4365, allocations: 300.3 kB / 0.5658 GB, free: 6.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4366, allocations: 7.938 kB / 0.5658 GB, free: 6.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006702/0.4372, allocations: 394.9 kB / 0.5661 GB, free: 6.312 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4372, allocations: 12.34 kB / 0.5661 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4372, allocations: 4 kB / 0.5662 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.4375, allocations: 81.67 kB / 0.5662 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.4378, allocations: 75.91 kB / 0.5663 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.4394, allocations: 1.958 MB / 0.5682 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4396, allocations: 12 kB / 0.5682 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.4397, allocations: 40.19 kB / 0.5683 GB, free: 3.965 MB / 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001808/0.4398, allocations: 161.6 kB / 0.5684 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.4399, allocations: 31.81 kB / 0.5684 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008761/0.4408, allocations: 432.5 kB / 0.5689 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.4408, allocations: 4 kB / 0.5689 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4408, allocations: 3.938 kB / 0.5689 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006031/0.4414, allocations: 0.56 MB / 0.5694 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4425, allocations: 0.7275 MB / 0.5701 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4425, allocations: 3.938 kB / 0.5701 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.4428, allocations: 75.95 kB / 0.5702 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-05/0.4428, allocations: 20.84 kB / 0.5702 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.4429, allocations: 16 kB / 0.5702 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.4439, allocations: 1.379 MB / 0.5716 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.4439, allocations: 4.031 kB / 0.5716 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007193/0.4447, allocations: 487.2 kB / 0.5721 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.1e-05/0.4447, allocations: 101 kB / 0.5721 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.4448, allocations: 8 kB / 0.5722 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.445, allocations: 11.98 kB / 0.5722 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.4451, allocations: 19.97 kB / 0.5722 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.4451, allocations: 31.98 kB / 0.5722 GB, free: 15.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.4453, allocations: 190 kB / 0.5724 GB, free: 15.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4453, allocations: 4 kB / 0.5724 GB, free: 15.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005052/0.4458, allocations: 123.9 kB / 0.5725 GB, free: 15.23 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001198/0.447, allocations: 1.058 MB / 0.5736 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.4477, allocations: 363.1 kB / 0.5739 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4477, allocations: 0 / 0.5739 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.448, allocations: 226.5 kB / 0.5741 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009113/0.4489, allocations: 164.5 kB / 0.5743 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.453, allocations: 3.195 MB / 0.5774 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.4534, allocations: 0.7682 MB / 0.5781 GB, free: 9.207 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.4538, allocations: 114.9 kB / 0.5783 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.4541, allocations: 127.4 kB / 0.5784 GB, free: 8.973 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4541, allocations: 0 / 0.5784 GB, free: 8.973 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03716/0.4912, allocations: 12 MB / 0.5901 GB, free: 12.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.24, allocations: 3.906 kB / 0.5901 GB, free: 12.9 MB / 478.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_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/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.583385125966743]