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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 117.3 kB / 18.4 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 189.3 kB / 21.34 MB, free: 1.707 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.385/1.385, allocations: 205.1 MB / 229.2 MB, free: 4.367 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.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.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.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.001672/0.001672, allocations: 55.7 kB / 334.8 MB, free: 14.69 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08829, allocations: 46.63 MB / 381.4 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3739/0.4622, allocations: 172.7 MB / 0.5411 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004169/0.4665, allocations: 3.224 MB / 0.5443 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.4667, allocations: 7.938 kB / 0.5443 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.4673, allocations: 167 kB / 0.5445 GB, free: 15.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008581/0.4682, allocations: 413.3 kB / 0.5449 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.469, allocations: 353.7 kB / 0.5452 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000958/0.47, allocations: 0.8915 MB / 0.5461 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.4702, allocations: 100.7 kB / 0.5462 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.4718, allocations: 0.7963 MB / 0.5469 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.4722, allocations: 266.9 kB / 0.5472 GB, free: 12.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.996e-05/0.4723, allocations: 32 kB / 0.5472 GB, free: 12.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.4726, allocations: 127.8 kB / 0.5473 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.4727, allocations: 95.66 kB / 0.5474 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.473, allocations: 187.3 kB / 0.5476 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.4736, allocations: 0.5139 MB / 0.5481 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4736, allocations: 0 / 0.5481 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4736, allocations: 0 / 0.5481 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.4736, allocations: 4 kB / 0.5481 GB, free: 11.61 MB / 430.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.0009081/0.4746, allocations: 0.5921 MB / 0.5487 GB, free: 10.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4746, allocations: 8.031 kB / 0.5487 GB, free: 10.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.513e-05/0.4747, allocations: 62.53 kB / 0.5488 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002739/0.475, allocations: 43.8 kB / 0.5488 GB, free: 10.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.4754, allocations: 298.5 kB / 0.5491 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.4755, allocations: 16.56 kB / 0.5491 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.4755, allocations: 24 kB / 0.5491 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.476, allocations: 319.6 kB / 0.5494 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.4761, allocations: 11.94 kB / 0.5494 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.099e-05/0.4761, allocations: 12 kB / 0.5495 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.4761, allocations: 4 kB / 0.5495 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.4765, allocations: 209.5 kB / 0.5497 GB, free: 9.898 MB / 430.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.001961/0.4784, allocations: 1.581 MB / 0.5512 GB, free: 8.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.4788, allocations: 187 kB / 0.5514 GB, free: 7.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.479, allocations: 102.1 kB / 0.5515 GB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.479, allocations: 4 kB / 0.5515 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.479, allocations: 38.56 kB / 0.5515 GB, free: 7.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.479, allocations: 0 / 0.5515 GB, free: 7.824 MB / 430.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.005499/0.4845, allocations: 1.625 MB / 0.5531 GB, free: 6.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.4846, allocations: 55.41 kB / 0.5532 GB, free: 6.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.4849, allocations: 253 kB / 0.5534 GB, free: 5.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.4849, allocations: 29.7 kB / 0.5534 GB, free: 5.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.4851, allocations: 184.5 kB / 0.5536 GB, free: 5.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.421e-05/0.4851, allocations: 99.16 kB / 0.5537 GB, free: 5.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4853, allocations: 81.64 kB / 0.5538 GB, free: 5.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4854, allocations: 342.8 kB / 0.5541 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.4856, allocations: 91.89 kB / 0.5542 GB, free: 4.914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.4859, allocations: 191.8 kB / 0.5544 GB, free: 4.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.4863, allocations: 300.3 kB / 0.5547 GB, free: 4.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4863, allocations: 0 / 0.5547 GB, free: 4.348 MB / 430.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006655/0.487, allocations: 402.8 kB / 0.5551 GB, free: 3.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.487, allocations: 8.406 kB / 0.5551 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.487, allocations: 4 kB / 0.5551 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.4873, allocations: 77.67 kB / 0.5551 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/0.4876, allocations: 87.83 kB / 0.5552 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.4892, allocations: 1.939 MB / 0.5571 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.4894, allocations: 12.22 kB / 0.5571 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.4895, allocations: 43.98 kB / 0.5572 GB, free: 1.602 MB / 430.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.0001742/0.4897, allocations: 157.7 kB / 0.5573 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.4898, allocations: 31.81 kB / 0.5573 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.4906, allocations: 435.6 kB / 0.5578 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4907, allocations: 4 kB / 0.5578 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.4907, allocations: 3.938 kB / 0.5578 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005855/0.4913, allocations: 0.563 MB / 0.5583 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4923, allocations: 0.7353 MB / 0.559 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4923, allocations: 4.062 kB / 0.559 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.4926, allocations: 63.95 kB / 0.5591 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.697e-05/0.4927, allocations: 28.78 kB / 0.5591 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.4928, allocations: 12.88 kB / 0.5591 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.4938, allocations: 1.386 MB / 0.5605 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4938, allocations: 0 / 0.5605 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007084/0.4945, allocations: 495.2 kB / 0.561 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-05/0.4946, allocations: 97 kB / 0.5611 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.4947, allocations: 7.984 kB / 0.5611 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4949, allocations: 8 kB / 0.5611 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.495, allocations: 27.97 kB / 0.5611 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.495, allocations: 27.98 kB / 0.5611 GB, free: 13.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.4952, allocations: 198 kB / 0.5613 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4952, allocations: 0 / 0.5613 GB, free: 12.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.4957, allocations: 123.9 kB / 0.5614 GB, free: 12.86 MB / 446.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.001228/0.4969, allocations: 1.051 MB / 0.5625 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006636/0.4976, allocations: 375 kB / 0.5628 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4976, allocations: 4 kB / 0.5628 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.4979, allocations: 230.5 kB / 0.563 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.499, allocations: 164.6 kB / 0.5632 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.503, allocations: 3.183 MB / 0.5663 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.5034, allocations: 0.7722 MB / 0.5671 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003968/0.5038, allocations: 122.9 kB / 0.5672 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.5041, allocations: 123.4 kB / 0.5673 GB, free: 6.59 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.5041, allocations: 3.938 kB / 0.5673 GB, free: 6.586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04064/0.5447, allocations: 11.91 MB / 0.5789 GB, free: 10.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.55, allocations: 15.89 kB / 0.5789 GB, free: 10.59 MB / 462.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_2/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_2/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: 14.91154511203058]