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.001623/0.001623, allocations: 118 kB / 18.45 MB, free: 4.566 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.002007/0.002007, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.533/1.533, allocations: 207.6 MB / 231.8 MB, free: 4.184 MB / 174.1 MB " [Timeout remaining time 178] 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="me",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="me",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.001743/0.001743, allocations: 51.92 kB / 342.3 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1032, allocations: 49.13 MB / 391.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.4539/0.557, allocations: 173.3 MB / 0.5515 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004439/0.5615, allocations: 3.24 MB / 0.5547 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.5616, allocations: 7.938 kB / 0.5547 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.5623, allocations: 174.9 kB / 0.5549 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008944/0.5632, allocations: 417.5 kB / 0.5553 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008639/0.564, allocations: 353.6 kB / 0.5556 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.565, allocations: 0.8914 MB / 0.5565 GB, free: 132 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.5652, allocations: 80.69 kB / 0.5565 GB, free: 56 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.5671, allocations: 0.8118 MB / 0.5573 GB, free: 15.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000412/0.5675, allocations: 286.9 kB / 0.5576 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.5676, allocations: 32 kB / 0.5576 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.5679, allocations: 115.9 kB / 0.5577 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.568, allocations: 103.6 kB / 0.5578 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.5682, allocations: 183.3 kB / 0.558 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.5689, allocations: 0.5178 MB / 0.5585 GB, free: 14.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.5689, allocations: 4 kB / 0.5585 GB, free: 14.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5689, allocations: 0 / 0.5585 GB, free: 14.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.5689, allocations: 0 / 0.5585 GB, free: 14.01 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.0009417/0.5699, allocations: 0.5882 MB / 0.5591 GB, free: 13.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5699, allocations: 12.03 kB / 0.5591 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.164e-05/0.57, allocations: 58.55 kB / 0.5592 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.5703, allocations: 55.73 kB / 0.5592 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.5708, allocations: 290.5 kB / 0.5595 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.5708, allocations: 16.56 kB / 0.5595 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.5708, allocations: 24 kB / 0.5595 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.5714, allocations: 327.6 kB / 0.5599 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.5714, allocations: 0 / 0.5599 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.5714, allocations: 12 kB / 0.5599 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.5714, allocations: 11.94 kB / 0.5599 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000348/0.5718, allocations: 201.5 kB / 0.5601 GB, free: 12.31 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.001936/0.5737, allocations: 1.593 MB / 0.5616 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.574, allocations: 164 kB / 0.5618 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.5742, allocations: 92.77 kB / 0.5619 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.5742, allocations: 7.984 kB / 0.5619 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.5743, allocations: 46.55 kB / 0.5619 GB, free: 10.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.5743, allocations: 0 / 0.5619 GB, free: 10.24 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.005925/0.5802, allocations: 1.621 MB / 0.5635 GB, free: 8.492 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.5802, allocations: 55.41 kB / 0.5636 GB, free: 8.426 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.5806, allocations: 257 kB / 0.5638 GB, free: 8.168 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.5806, allocations: 29.7 kB / 0.5638 GB, free: 8.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5807, allocations: 180.5 kB / 0.564 GB, free: 7.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.5808, allocations: 99.16 kB / 0.5641 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.581, allocations: 81.64 kB / 0.5642 GB, free: 7.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5811, allocations: 346.7 kB / 0.5645 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5813, allocations: 83.97 kB / 0.5646 GB, free: 7.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.5816, allocations: 191.8 kB / 0.5648 GB, free: 7.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.582, allocations: 300.3 kB / 0.5651 GB, free: 6.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.582, allocations: 0 / 0.5651 GB, free: 6.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007006/0.5827, allocations: 406.9 kB / 0.5654 GB, free: 6.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5828, allocations: 4 kB / 0.5654 GB, free: 6.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.5828, allocations: 4 kB / 0.5655 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.583, allocations: 73.69 kB / 0.5655 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.5834, allocations: 87.83 kB / 0.5656 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.585, allocations: 1.949 MB / 0.5675 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.5852, allocations: 12 kB / 0.5675 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.5853, allocations: 39.98 kB / 0.5676 GB, free: 4.027 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.0001924/0.5855, allocations: 157.7 kB / 0.5677 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.5856, allocations: 27.81 kB / 0.5677 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009014/0.5865, allocations: 437.8 kB / 0.5682 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5865, allocations: 4 kB / 0.5682 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.5865, allocations: 0 / 0.5682 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006221/0.5871, allocations: 0.5669 MB / 0.5687 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.5882, allocations: 0.7275 MB / 0.5694 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5882, allocations: 0 / 0.5694 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.5885, allocations: 75.95 kB / 0.5695 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-05/0.5886, allocations: 24.78 kB / 0.5695 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.5886, allocations: 19.97 kB / 0.5695 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.5897, allocations: 1.386 MB / 0.5709 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5897, allocations: 160 / 0.5709 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/0.5904, allocations: 487.2 kB / 0.5714 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5905, allocations: 105 kB / 0.5715 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.5906, allocations: 8 kB / 0.5715 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.5908, allocations: 8 kB / 0.5715 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.5909, allocations: 24.03 kB / 0.5715 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.5909, allocations: 35.92 kB / 0.5715 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002239/0.5911, allocations: 190 kB / 0.5717 GB, free: 15.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5911, allocations: 0 / 0.5717 GB, free: 15.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.5917, allocations: 123.9 kB / 0.5718 GB, free: 15.29 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.001382/0.5931, allocations: 1.054 MB / 0.5729 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007388/0.5938, allocations: 354.4 kB / 0.5732 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5938, allocations: 4 kB / 0.5732 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.5941, allocations: 227.4 kB / 0.5734 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.5951, allocations: 156.2 kB / 0.5736 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.5996, allocations: 3.187 MB / 0.5767 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.6, allocations: 0.7683 MB / 0.5774 GB, free: 9.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004639/0.6005, allocations: 122.9 kB / 0.5775 GB, free: 9.164 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.6008, allocations: 135.3 kB / 0.5777 GB, free: 9.031 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6008, allocations: 0 / 0.5777 GB, free: 9.031 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.6464, allocations: 11.97 MB / 0.5894 GB, free: 13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.01, allocations: 4 kB / 0.5894 GB, free: 12.99 MB / 478.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_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_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.csv","/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: 15.696060019006836]