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.001574/0.001574, allocations: 112.4 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.001549/0.001549, 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.404/1.404, 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.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.001835/0.001835, allocations: 51.92 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2496, allocations: 49.17 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2062/0.4558, allocations: 173.5 MB / 0.5565 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.4603, allocations: 3.263 MB / 0.5597 GB, free: 1.93 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.4604, allocations: 7.938 kB / 0.5597 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.461, allocations: 170.9 kB / 0.5599 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009108/0.4619, allocations: 421.5 kB / 0.5603 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.4628, allocations: 355.2 kB / 0.5606 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.464, allocations: 0.9109 MB / 0.5615 GB, free: 84 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.4641, allocations: 80.86 kB / 0.5616 GB, free: 4 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2335/0.6976, allocations: 0.8024 MB / 0.5624 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005067/0.6981, allocations: 292 kB / 0.5626 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.954e-05/0.6982, allocations: 31.47 kB / 0.5627 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.6986, allocations: 122.4 kB / 0.5628 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.6987, allocations: 99.56 kB / 0.5629 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00023/0.699, allocations: 187.5 kB / 0.5631 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.6996, allocations: 0.5194 MB / 0.5636 GB, free: 2.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6997, allocations: 1.281 kB / 0.5636 GB, free: 2.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6997, allocations: 1 kB / 0.5636 GB, free: 2.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.6997, allocations: 0 / 0.5636 GB, free: 2.348 MB / 478.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.001022/0.7007, allocations: 0.5175 MB / 0.5641 GB, free: 18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7007, allocations: 12.95 kB / 0.5641 GB, free: 18 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.646e-05/0.7008, allocations: 61.78 kB / 0.5642 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002946/0.7011, allocations: 44.25 kB / 0.5642 GB, free: 17.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.7016, allocations: 229.8 kB / 0.5644 GB, free: 17.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.7016, allocations: 19.31 kB / 0.5644 GB, free: 17.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.7016, allocations: 28.28 kB / 0.5645 GB, free: 17.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.7022, allocations: 317.2 kB / 0.5648 GB, free: 17.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.7022, allocations: 0.5938 kB / 0.5648 GB, free: 17.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.7022, allocations: 12.69 kB / 0.5648 GB, free: 17.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7022, allocations: 7.031 kB / 0.5648 GB, free: 17.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.7026, allocations: 207.4 kB / 0.565 GB, free: 17.7 MB / 494.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.001939/0.7045, allocations: 1.561 MB / 0.5665 GB, free: 16.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.7048, allocations: 163.2 kB / 0.5667 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.7049, allocations: 89.91 kB / 0.5667 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.705, allocations: 9.953 kB / 0.5668 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.705, allocations: 41.33 kB / 0.5668 GB, free: 16.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.705, allocations: 0 / 0.5668 GB, free: 16.47 MB / 494.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.005408/0.7104, allocations: 1.313 MB / 0.5681 GB, free: 16.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.7105, allocations: 55.75 kB / 0.5681 GB, free: 16.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.7107, allocations: 254.2 kB / 0.5684 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.7108, allocations: 30.11 kB / 0.5684 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.7109, allocations: 180.2 kB / 0.5686 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.7109, allocations: 104.5 kB / 0.5687 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.7111, allocations: 79.75 kB / 0.5687 GB, free: 15.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.7112, allocations: 338.1 kB / 0.5691 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.7113, allocations: 91.42 kB / 0.5692 GB, free: 15.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.7115, allocations: 190.3 kB / 0.5693 GB, free: 15.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.7119, allocations: 301.5 kB / 0.5696 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7119, allocations: 1.969 kB / 0.5696 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006117/0.7125, allocations: 401.8 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7125, allocations: 11.81 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.7125, allocations: 3.125 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002082/0.7127, allocations: 79.28 kB / 0.5701 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.7131, allocations: 80.98 kB / 0.5702 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.7146, allocations: 1.851 MB / 0.572 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.7148, allocations: 9.219 kB / 0.572 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.7148, allocations: 45.27 kB / 0.572 GB, free: 13.36 MB / 494.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.0001921/0.715, allocations: 156.2 kB / 0.5722 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.7151, allocations: 31.94 kB / 0.5722 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008167/0.7159, allocations: 437.6 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7159, allocations: 2.281 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.7159, allocations: 4.5 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005645/0.7165, allocations: 0.5582 MB / 0.5732 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/0.7175, allocations: 0.7025 MB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7175, allocations: 0 / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.7178, allocations: 69.14 kB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.882e-05/0.7179, allocations: 25.3 kB / 0.574 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.7179, allocations: 19.19 kB / 0.574 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009351/0.7188, allocations: 1.283 MB / 0.5752 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7188, allocations: 4.031 kB / 0.5752 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006387/0.7195, allocations: 484.3 kB / 0.5757 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.7195, allocations: 25.8 kB / 0.5757 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.7196, allocations: 10.34 kB / 0.5757 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.7198, allocations: 9.734 kB / 0.5757 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.7198, allocations: 25.58 kB / 0.5758 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.7199, allocations: 33.56 kB / 0.5758 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.7201, allocations: 190.4 kB / 0.576 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7201, allocations: 0.6875 kB / 0.576 GB, free: 10.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005638/0.7207, allocations: 125.1 kB / 0.5761 GB, free: 10.89 MB / 494.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.001268/0.7219, allocations: 1.054 MB / 0.5771 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000684/0.7226, allocations: 363.5 kB / 0.5775 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7226, allocations: 1.469 kB / 0.5775 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.7229, allocations: 229.5 kB / 0.5777 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/0.7238, allocations: 163.2 kB / 0.5779 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.728, allocations: 3.192 MB / 0.581 GB, free: 8.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.7284, allocations: 0.7609 MB / 0.5817 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004515/0.7289, allocations: 119 kB / 0.5818 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.7291, allocations: 128.5 kB / 0.582 GB, free: 7.574 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7291, allocations: 0.9062 kB / 0.582 GB, free: 7.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.7716, allocations: 12.22 MB / 0.5939 GB, free: 6.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.13, allocations: 0 / 0.5939 GB, free: 6.309 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.59860309699434]