Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.001352/0.001352, 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.001496/0.001496, 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.41/1.41, 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.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.001749/0.001749, allocations: 55.92 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2562, allocations: 49.16 MB / 396.4 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2057/0.462, allocations: 173.5 MB / 0.5565 GB, free: 5.238 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004424/0.4664, allocations: 3.248 MB / 0.5597 GB, free: 1.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.4666, allocations: 11.88 kB / 0.5597 GB, free: 1.965 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.4673, allocations: 174.9 kB / 0.5598 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009635/0.4683, allocations: 413.5 kB / 0.5602 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.4692, allocations: 359.2 kB / 0.5606 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001117/0.4703, allocations: 0.907 MB / 0.5615 GB, free: 132 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002095/0.4705, allocations: 76.88 kB / 0.5615 GB, free: 56 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2416/0.7121, allocations: 0.8046 MB / 0.5623 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.7127, allocations: 288.8 kB / 0.5626 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.7128, allocations: 31.66 kB / 0.5626 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.7132, allocations: 124.5 kB / 0.5627 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.7133, allocations: 101.3 kB / 0.5628 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.7136, allocations: 183 kB / 0.563 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008093/0.7144, allocations: 0.5223 MB / 0.5635 GB, free: 2.387 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7144, allocations: 0 / 0.5635 GB, free: 2.387 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.7144, allocations: 1.062 kB / 0.5635 GB, free: 2.387 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.7144, allocations: 0.625 kB / 0.5635 GB, free: 2.387 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.001122/0.7155, allocations: 0.5148 MB / 0.564 GB, free: 18.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.7156, allocations: 15.16 kB / 0.564 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.915e-05/0.7156, allocations: 58.55 kB / 0.5641 GB, free: 18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003259/0.716, allocations: 44.77 kB / 0.5641 GB, free: 17.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.7165, allocations: 232.3 kB / 0.5644 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.7165, allocations: 18.62 kB / 0.5644 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.399e-05/0.7166, allocations: 25.09 kB / 0.5644 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.7172, allocations: 318.5 kB / 0.5647 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.7172, allocations: 1.062 kB / 0.5647 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.7172, allocations: 10.69 kB / 0.5647 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.7172, allocations: 9.641 kB / 0.5647 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.7176, allocations: 205.3 kB / 0.5649 GB, free: 17.74 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.002152/0.7198, allocations: 1.563 MB / 0.5665 GB, free: 16.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.7201, allocations: 159.1 kB / 0.5666 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.7203, allocations: 89.48 kB / 0.5667 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.7203, allocations: 6.172 kB / 0.5667 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.7204, allocations: 41.02 kB / 0.5667 GB, free: 16.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.793e-06/0.7204, allocations: 0.9688 kB / 0.5667 GB, free: 16.51 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.005379/0.7257, allocations: 1.315 MB / 0.568 GB, free: 16.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.7258, allocations: 55.09 kB / 0.5681 GB, free: 16.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.7261, allocations: 253 kB / 0.5683 GB, free: 16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.7262, allocations: 32.77 kB / 0.5684 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.7263, allocations: 180.7 kB / 0.5685 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.7263, allocations: 102.5 kB / 0.5686 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.7264, allocations: 80.19 kB / 0.5687 GB, free: 15.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7266, allocations: 340.5 kB / 0.569 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.7267, allocations: 89.39 kB / 0.5691 GB, free: 15.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.7269, allocations: 191.4 kB / 0.5693 GB, free: 15.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.7273, allocations: 306.4 kB / 0.5696 GB, free: 15.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7273, allocations: 1.656 kB / 0.5696 GB, free: 15.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006687/0.728, allocations: 402.8 kB / 0.57 GB, free: 15.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.728, allocations: 10.28 kB / 0.57 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.728, allocations: 5.938 kB / 0.57 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.7283, allocations: 73.62 kB / 0.5701 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.7287, allocations: 82.95 kB / 0.5701 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.7303, allocations: 1.85 MB / 0.5719 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.7306, allocations: 8.312 kB / 0.5719 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.7307, allocations: 41.42 kB / 0.572 GB, free: 13.4 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.0002643/0.731, allocations: 157.8 kB / 0.5721 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.7311, allocations: 31.86 kB / 0.5722 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008925/0.7319, allocations: 443.4 kB / 0.5726 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.732, allocations: 5.969 kB / 0.5726 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.732, allocations: 0.875 kB / 0.5726 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006334/0.7326, allocations: 0.5571 MB / 0.5731 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.7338, allocations: 0.7024 MB / 0.5738 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.7338, allocations: 1.875 kB / 0.5738 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003415/0.7341, allocations: 72.08 kB / 0.5739 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.054e-05/0.7342, allocations: 20.31 kB / 0.5739 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.7342, allocations: 15.09 kB / 0.5739 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.7353, allocations: 1.283 MB / 0.5752 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7353, allocations: 5.125 kB / 0.5752 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.736, allocations: 486.1 kB / 0.5757 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.7361, allocations: 23.62 kB / 0.5757 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.7361, allocations: 11.89 kB / 0.5757 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.7364, allocations: 9.828 kB / 0.5757 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.7364, allocations: 31.2 kB / 0.5757 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.7365, allocations: 29.14 kB / 0.5758 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.7367, allocations: 186.7 kB / 0.5759 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7367, allocations: 0.9062 kB / 0.5759 GB, free: 10.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005787/0.7373, allocations: 127.8 kB / 0.5761 GB, free: 10.93 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.001389/0.7386, allocations: 1.049 MB / 0.5771 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008595/0.7395, allocations: 366 kB / 0.5774 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7395, allocations: 0.5625 kB / 0.5774 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.7398, allocations: 227.1 kB / 0.5776 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.7407, allocations: 166.7 kB / 0.5778 GB, free: 9.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.745, allocations: 3.203 MB / 0.5809 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.7454, allocations: 0.7664 MB / 0.5817 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004787/0.7459, allocations: 115.1 kB / 0.5818 GB, free: 7.621 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.7462, allocations: 125.2 kB / 0.5819 GB, free: 7.609 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7462, allocations: 1.031 kB / 0.5819 GB, free: 7.609 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04445/0.7906, allocations: 12.22 MB / 0.5938 GB, free: 6.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.23, allocations: 5.141 kB / 0.5939 GB, free: 6.34 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.757983513998624]