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.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.001689/0.001689, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002105/0.002105, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.392/1.392, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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.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"}) [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.001762/0.001762, allocations: 51.88 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.246, allocations: 49.17 MB / 396.4 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1775/0.4235, allocations: 144.6 MB / 0.5283 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.4262, allocations: 1.756 MB / 0.53 GB, free: 456 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.4264, allocations: 11.88 kB / 0.53 GB, free: 444 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.427, allocations: 174.9 kB / 0.5302 GB, free: 268 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.4277, allocations: 326.2 kB / 0.5305 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4287, allocations: 419 kB / 0.5309 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.4298, allocations: 0.8641 MB / 0.5318 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.43, allocations: 68.91 kB / 0.5318 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000725/0.4307, allocations: 410.6 kB / 0.5322 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.4313, allocations: 350.8 kB / 0.5325 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.935e-05/0.4313, allocations: 32 kB / 0.5326 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.4317, allocations: 139.7 kB / 0.5327 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.4318, allocations: 103.7 kB / 0.5328 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.432, allocations: 187.2 kB / 0.533 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.4327, allocations: 499.2 kB / 0.5335 GB, free: 12.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.4327, allocations: 0 / 0.5335 GB, free: 12.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.4327, allocations: 3.938 kB / 0.5335 GB, free: 12.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.4327, allocations: 0 / 0.5335 GB, free: 12.91 MB / 462.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.0009211/0.4336, allocations: 0.5169 MB / 0.534 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.4336, allocations: 15.98 kB / 0.534 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.597e-05/0.4337, allocations: 62.73 kB / 0.534 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002833/0.434, allocations: 44.73 kB / 0.5341 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.4345, allocations: 226 kB / 0.5343 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.4346, allocations: 20.88 kB / 0.5343 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.4346, allocations: 28.38 kB / 0.5344 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.4352, allocations: 304.4 kB / 0.5346 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4352, allocations: 3.938 kB / 0.5346 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.4352, allocations: 12 kB / 0.5347 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.4353, allocations: 4 kB / 0.5347 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.4356, allocations: 201.9 kB / 0.5349 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.4376, allocations: 1.186 MB / 0.536 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.4381, allocations: 182.7 kB / 0.5362 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.4383, allocations: 88.83 kB / 0.5363 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.675e-05/0.4384, allocations: 19.97 kB / 0.5363 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.4384, allocations: 42.5 kB / 0.5363 GB, free: 9.773 MB / 462.1 MB Notification: Performance of pre-optimization done (n=21): time 1.854e-06/0.4384, allocations: 0 / 0.5363 GB, free: 9.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.002693/0.4411, allocations: 0.8018 MB / 0.5371 GB, free: 8.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4412, allocations: 55.34 kB / 0.5372 GB, free: 8.863 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.4415, allocations: 265.7 kB / 0.5374 GB, free: 8.594 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.4415, allocations: 33.7 kB / 0.5375 GB, free: 8.555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.4416, allocations: 180.5 kB / 0.5376 GB, free: 8.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/0.4417, allocations: 95.2 kB / 0.5377 GB, free: 8.281 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.4418, allocations: 69.64 kB / 0.5378 GB, free: 8.207 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.442, allocations: 342.8 kB / 0.5381 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4422, allocations: 75.97 kB / 0.5382 GB, free: 7.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.4424, allocations: 183.8 kB / 0.5384 GB, free: 7.566 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.4428, allocations: 287.8 kB / 0.5386 GB, free: 7.242 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4428, allocations: 0 / 0.5386 GB, free: 7.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006435/0.4434, allocations: 371.1 kB / 0.539 GB, free: 6.867 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4435, allocations: 8 kB / 0.539 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4435, allocations: 0 / 0.539 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001607/0.4436, allocations: 49.62 kB / 0.539 GB, free: 6.805 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.444, allocations: 75.91 kB / 0.5391 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.4463, allocations: 2.551 MB / 0.5416 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4465, allocations: 16 kB / 0.5416 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.4465, allocations: 12.16 kB / 0.5416 GB, free: 3.922 MB / 462.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.0001997/0.4467, allocations: 165.6 kB / 0.5418 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.4468, allocations: 31.81 kB / 0.5418 GB, free: 3.719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.4473, allocations: 277.9 kB / 0.5421 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.4474, allocations: 4 kB / 0.5421 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.4474, allocations: 4 kB / 0.5421 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005778/0.4479, allocations: 0.5434 MB / 0.5426 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.449, allocations: 0.6555 MB / 0.5433 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.449, allocations: 4 kB / 0.5433 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.4493, allocations: 55.91 kB / 0.5433 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-05/0.4494, allocations: 20.88 kB / 0.5433 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.4494, allocations: 8 kB / 0.5433 GB, free: 1.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.4504, allocations: 1.271 MB / 0.5446 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4504, allocations: 0 / 0.5446 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.4511, allocations: 446.8 kB / 0.545 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.4512, allocations: 27.78 kB / 0.545 GB, free: 124 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.4512, allocations: 8 kB / 0.5451 GB, free: 116 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.4515, allocations: 11.98 kB / 0.5451 GB, free: 104 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4515, allocations: 19.84 kB / 0.5451 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.4515, allocations: 15.98 kB / 0.5451 GB, free: 68 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.4517, allocations: 189.2 kB / 0.5453 GB, free: 15.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4517, allocations: 0 / 0.5453 GB, free: 15.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004745/0.4522, allocations: 107.9 kB / 0.5454 GB, free: 15.78 MB / 478.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.001168/0.4534, allocations: 1.011 MB / 0.5464 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007088/0.4541, allocations: 441 kB / 0.5468 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4541, allocations: 0.8125 kB / 0.5468 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.4544, allocations: 210.7 kB / 0.547 GB, free: 14.06 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.4553, allocations: 168.1 kB / 0.5471 GB, free: 13.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.4595, allocations: 3.093 MB / 0.5502 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.4599, allocations: 0.7645 MB / 0.5509 GB, free: 9.836 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.4602, allocations: 66.86 kB / 0.551 GB, free: 9.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.4604, allocations: 87.41 kB / 0.5511 GB, free: 9.684 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4604, allocations: 0 / 0.5511 GB, free: 9.684 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05859/0.519, allocations: 9.605 MB / 0.5604 GB, free: 16 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.68, allocations: 0 / 0.5604 GB, free: 16 kB / 478.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_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_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.29343329000403]