Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001291/0.001291, allocations: 112.9 kB / 18.45 MB, free: 4.625 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.001285/0.001285, allocations: 216.3 kB / 21.41 MB, free: 1.668 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.528/1.528, allocations: 207.6 MB / 231.8 MB, free: 4.066 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.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.0017/0.0017, allocations: 55.92 kB / 342.3 MB, free: 9.969 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 49.13 MB / 391.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4234/0.5267, allocations: 173.3 MB / 0.5515 GB, free: 5.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004534/0.5312, allocations: 3.228 MB / 0.5547 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.5316, allocations: 11.94 kB / 0.5547 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.5322, allocations: 182.9 kB / 0.5549 GB, free: 1.738 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.5333, allocations: 409.5 kB / 0.5553 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009073/0.5342, allocations: 349.7 kB / 0.5556 GB, free: 1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.5353, allocations: 0.8914 MB / 0.5565 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.5355, allocations: 84.67 kB / 0.5565 GB, free: 28 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001893/0.5374, allocations: 0.8079 MB / 0.5573 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.5378, allocations: 290.9 kB / 0.5576 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.5378, allocations: 28 kB / 0.5576 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.5381, allocations: 123.9 kB / 0.5578 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.5383, allocations: 107.6 kB / 0.5579 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.5385, allocations: 175.3 kB / 0.558 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006752/0.5391, allocations: 0.5178 MB / 0.5585 GB, free: 13.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5391, allocations: 0 / 0.5585 GB, free: 13.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5391, allocations: 0 / 0.5585 GB, free: 13.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.5392, allocations: 4 kB / 0.5585 GB, free: 13.98 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.0009489/0.5401, allocations: 0.5921 MB / 0.5591 GB, free: 13.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.5401, allocations: 11.97 kB / 0.5591 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.922e-05/0.5402, allocations: 66.53 kB / 0.5592 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.5405, allocations: 44.67 kB / 0.5592 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.541, allocations: 286.6 kB / 0.5595 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.541, allocations: 20.56 kB / 0.5595 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.5411, allocations: 24 kB / 0.5595 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005371/0.5416, allocations: 327.6 kB / 0.5599 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5416, allocations: 4 kB / 0.5599 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.5417, allocations: 12 kB / 0.5599 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.5417, allocations: 7.938 kB / 0.5599 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.542, allocations: 209.5 kB / 0.5601 GB, free: 12.27 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.00202/0.5441, allocations: 1.592 MB / 0.5616 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003237/0.5444, allocations: 167.1 kB / 0.5618 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5445, allocations: 92.77 kB / 0.5619 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.5446, allocations: 4 kB / 0.5619 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.5446, allocations: 42.5 kB / 0.5619 GB, free: 10.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.5446, allocations: 0 / 0.5619 GB, free: 10.21 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.00584/0.5504, allocations: 1.609 MB / 0.5635 GB, free: 8.473 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.5505, allocations: 55.41 kB / 0.5635 GB, free: 8.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.5508, allocations: 260.9 kB / 0.5638 GB, free: 8.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.5508, allocations: 29.7 kB / 0.5638 GB, free: 8.109 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.551, allocations: 184.5 kB / 0.564 GB, free: 7.926 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/0.5511, allocations: 95.17 kB / 0.5641 GB, free: 7.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5512, allocations: 85.64 kB / 0.5642 GB, free: 7.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5514, allocations: 338.8 kB / 0.5645 GB, free: 7.402 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.5515, allocations: 87.95 kB / 0.5646 GB, free: 7.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.5518, allocations: 195.8 kB / 0.5648 GB, free: 7.082 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.5522, allocations: 296.3 kB / 0.5651 GB, free: 6.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5522, allocations: 2.75 kB / 0.5651 GB, free: 6.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006923/0.5529, allocations: 398.8 kB / 0.5654 GB, free: 6.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.5529, allocations: 8.406 kB / 0.5654 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.553, allocations: 8 kB / 0.5654 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002323/0.5532, allocations: 73.67 kB / 0.5655 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.5535, allocations: 87.83 kB / 0.5656 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.5554, allocations: 1.951 MB / 0.5675 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.5556, allocations: 12.19 kB / 0.5675 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.967e-05/0.5556, allocations: 39.98 kB / 0.5676 GB, free: 4 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.0002131/0.5558, allocations: 165.6 kB / 0.5677 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.5559, allocations: 27.81 kB / 0.5677 GB, free: 3.801 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/0.5569, allocations: 437.8 kB / 0.5682 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5569, allocations: 0 / 0.5682 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5569, allocations: 4 kB / 0.5682 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006771/0.5575, allocations: 0.563 MB / 0.5687 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.5587, allocations: 0.7314 MB / 0.5694 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5587, allocations: 3.938 kB / 0.5694 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.559, allocations: 72.02 kB / 0.5695 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.168e-05/0.5591, allocations: 28.78 kB / 0.5695 GB, free: 1.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.5591, allocations: 12 kB / 0.5695 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.5603, allocations: 1.379 MB / 0.5709 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5603, allocations: 3.938 kB / 0.5709 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.561, allocations: 487.3 kB / 0.5714 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.5611, allocations: 101 kB / 0.5715 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.5611, allocations: 7.984 kB / 0.5715 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.5614, allocations: 8 kB / 0.5715 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.5614, allocations: 27.91 kB / 0.5715 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/0.5615, allocations: 31.98 kB / 0.5715 GB, free: 15.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002209/0.5617, allocations: 194 kB / 0.5717 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5617, allocations: 0 / 0.5717 GB, free: 15.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005404/0.5622, allocations: 123.9 kB / 0.5718 GB, free: 15.26 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.001425/0.5637, allocations: 1.051 MB / 0.5729 GB, free: 14.17 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007373/0.5644, allocations: 363.1 kB / 0.5732 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5644, allocations: 0 / 0.5732 GB, free: 13.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.5647, allocations: 230.5 kB / 0.5734 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.5657, allocations: 160.5 kB / 0.5736 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.5699, allocations: 3.195 MB / 0.5767 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.5704, allocations: 0.7722 MB / 0.5774 GB, free: 9.234 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004025/0.5708, allocations: 110.9 kB / 0.5776 GB, free: 9.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.571, allocations: 127.4 kB / 0.5777 GB, free: 9.004 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.571, allocations: 0 / 0.5777 GB, free: 9.004 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06472/0.6358, allocations: 11.96 MB / 0.5894 GB, free: 12.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.05, allocations: 8.062 kB / 0.5894 GB, free: 12.96 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_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_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.678913577998173]