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.001228/0.001228, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.005655/0.005655, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.9382/0.9382, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 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.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: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 4 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.248e-05, allocations: 6.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.2836/0.2836, allocations: 149.4 MB / 447.9 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003421/0.2871, allocations: 2.94 MB / 450.8 MB, free: 6.008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.2873, allocations: 10 kB / 450.8 MB, free: 6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005594/0.2878, allocations: 166.8 kB / 451 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000829/0.2887, allocations: 429.2 kB / 451.4 MB, free: 5.414 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.2895, allocations: 362.2 kB / 451.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009198/0.2904, allocations: 0.8911 MB / 452.6 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.2906, allocations: 68.89 kB / 452.7 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.2926, allocations: 0.942 MB / 453.6 MB, free: 3.156 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003187/0.2929, allocations: 255.2 kB / 453.9 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.2929, allocations: 36 kB / 453.9 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000254/0.2932, allocations: 115.9 kB / 454 MB, free: 2.758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2933, allocations: 103.6 kB / 454.1 MB, free: 2.656 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2934, allocations: 139.7 kB / 454.3 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.2939, allocations: 0.5492 MB / 454.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2939, allocations: 0 / 454.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2939, allocations: 0 / 454.8 MB, free: 1.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.2939, allocations: 0 / 454.8 MB, free: 1.969 MB / 410.7 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.0009721/0.2949, allocations: 0.5128 MB / 455.3 MB, free: 1.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.295, allocations: 15.98 kB / 455.4 MB, free: 1.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.06e-05/0.295, allocations: 66.53 kB / 455.4 MB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.2952, allocations: 43.8 kB / 455.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.2956, allocations: 225.3 kB / 455.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2956, allocations: 20.5 kB / 455.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.2957, allocations: 25.22 kB / 455.7 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.2962, allocations: 0.5335 MB / 456.3 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2962, allocations: 7.984 kB / 456.3 MB, free: 388 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.2962, allocations: 12 kB / 456.3 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2962, allocations: 11.94 kB / 456.3 MB, free: 364 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.2964, allocations: 201.8 kB / 456.5 MB, free: 164 kB / 410.7 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.1556/0.4521, allocations: 1.183 MB / 457.7 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.4523, allocations: 165.8 kB / 457.8 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.4524, allocations: 87.92 kB / 457.9 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.4524, allocations: 6.797 kB / 457.9 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4525, allocations: 36.41 kB / 458 MB, free: 142.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/0.4525, allocations: 0 / 458 MB, free: 142.2 MB / 410.7 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.003397/0.4559, allocations: 1.323 MB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.4559, allocations: 58.64 kB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.4561, allocations: 262.6 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.4561, allocations: 30.98 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.4562, allocations: 183.3 kB / 459.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/0.4563, allocations: 93.97 kB / 459.9 MB, free: 141.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.4564, allocations: 83.22 kB / 460 MB, free: 141.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.4564, allocations: 337.9 kB / 460.3 MB, free: 140.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4565, allocations: 87.84 kB / 460.4 MB, free: 140.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.4567, allocations: 197.9 kB / 460.6 MB, free: 140.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.457, allocations: 298.1 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.457, allocations: 1.562 kB / 460.9 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004937/0.4575, allocations: 402.2 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4575, allocations: 6.922 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4575, allocations: 4.469 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.4577, allocations: 74.64 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.458, allocations: 79.73 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009464/0.4589, allocations: 1.852 MB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.4591, allocations: 13.06 kB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.4591, allocations: 40.84 kB / 463.3 MB, free: 138.4 MB / 410.7 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.0001393/0.4593, allocations: 154.5 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.4593, allocations: 29.88 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.4599, allocations: 447.9 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.4599, allocations: 2.531 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4599, allocations: 1.188 kB / 464 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003134/0.4602, allocations: 0.5594 MB / 464.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.461, allocations: 0.6723 MB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4611, allocations: 2.609 kB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.4613, allocations: 76.34 kB / 465.3 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/0.4613, allocations: 21.75 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.4614, allocations: 14.2 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004821/0.4618, allocations: 1.265 MB / 466.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4618, allocations: 1.281 kB / 466.6 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.4623, allocations: 484.7 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.4623, allocations: 21.92 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.4624, allocations: 7.922 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.4625, allocations: 13.19 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.4625, allocations: 26.42 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.4626, allocations: 28.14 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.4627, allocations: 189.4 kB / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4627, allocations: 0 / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.4631, allocations: 124 kB / 467.5 MB, free: 135.3 MB / 410.7 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.0008095/0.464, allocations: 1.065 MB / 468.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.4645, allocations: 369.5 kB / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4645, allocations: 3.938 kB / 468.9 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.4646, allocations: 233.5 kB / 469.1 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.4652, allocations: 160.8 kB / 469.3 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.4679, allocations: 3.132 MB / 472.4 MB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.468, allocations: 151.5 kB / 472.5 MB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.4684, allocations: 123.6 kB / 472.7 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.4685, allocations: 126.7 kB / 472.8 MB, free: 131.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4685, allocations: 1.812 kB / 472.8 MB, free: 131.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.5033, allocations: 12.96 MB / 485.8 MB, free: 125.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.716, allocations: 0 / 485.8 MB, free: 125.6 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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: 10.556484875269234]