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.001252/0.001252, allocations: 87.67 kB / 21.43 MB, free: 3.117 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.007754/0.007754, allocations: 155.3 kB / 24.69 MB, free: 9.426 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.9253/0.9253, allocations: 158.6 MB / 186.5 MB, free: 3.055 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.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: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 298.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.342e-05, allocations: 2.281 kB / 298.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2923/0.2923, allocations: 149.3 MB / 447.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002758/0.2951, allocations: 2.939 MB / 450.8 MB, free: 6.035 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.2953, allocations: 7.938 kB / 450.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.2959, allocations: 162.9 kB / 450.9 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007613/0.2966, allocations: 429.2 kB / 451.4 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007322/0.2974, allocations: 361.3 kB / 451.7 MB, free: 5.094 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.2981, allocations: 0.8911 MB / 452.6 MB, free: 4.199 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2983, allocations: 68.89 kB / 452.7 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3003, allocations: 0.9442 MB / 453.6 MB, free: 3.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.3006, allocations: 255.2 kB / 453.9 MB, free: 2.938 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.3007, allocations: 32 kB / 453.9 MB, free: 2.906 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.3009, allocations: 107.9 kB / 454 MB, free: 2.801 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.301, allocations: 107.6 kB / 454.1 MB, free: 2.695 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3012, allocations: 139.8 kB / 454.2 MB, free: 2.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3017, allocations: 0.5415 MB / 454.8 MB, free: 2.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3017, allocations: 3.938 kB / 454.8 MB, free: 2.012 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3017, allocations: 4 kB / 454.8 MB, free: 2.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3017, allocations: 0 / 454.8 MB, free: 2.008 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.0006507/0.3023, allocations: 0.5206 MB / 455.3 MB, free: 1.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3024, allocations: 11.98 kB / 455.3 MB, free: 1.445 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.762e-05/0.3024, allocations: 62.53 kB / 455.4 MB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.3026, allocations: 43.8 kB / 455.4 MB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.303, allocations: 237.2 kB / 455.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.303, allocations: 16.5 kB / 455.7 MB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.3031, allocations: 24 kB / 455.7 MB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.3036, allocations: 0.5346 MB / 456.2 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3036, allocations: 3.938 kB / 456.2 MB, free: 424 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.3036, allocations: 12 kB / 456.2 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3036, allocations: 11.92 kB / 456.3 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.3039, allocations: 201.8 kB / 456.4 MB, free: 200 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.1409/0.4448, allocations: 1.185 MB / 457.6 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.445, allocations: 164.7 kB / 457.8 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.4451, allocations: 84.75 kB / 457.9 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.4452, allocations: 5.547 kB / 457.9 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.4452, allocations: 41.69 kB / 457.9 MB, free: 142.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.575e-06/0.4452, allocations: 0 / 457.9 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.003218/0.4484, allocations: 1.322 MB / 459.2 MB, free: 141.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.4484, allocations: 59.7 kB / 459.3 MB, free: 141.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.4486, allocations: 254.4 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4487, allocations: 37.61 kB / 459.6 MB, free: 141.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/0.4488, allocations: 183.6 kB / 459.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.4488, allocations: 100.9 kB / 459.9 MB, free: 141.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4489, allocations: 82.58 kB / 459.9 MB, free: 141.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.449, allocations: 338.2 kB / 460.3 MB, free: 140.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4491, allocations: 87.25 kB / 460.4 MB, free: 140.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.4492, allocations: 185.4 kB / 460.5 MB, free: 140.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.4495, allocations: 307 kB / 460.8 MB, free: 140.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4495, allocations: 1.953 kB / 460.8 MB, free: 140.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004902/0.45, allocations: 402.8 kB / 461.2 MB, free: 140.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.45, allocations: 5.812 kB / 461.2 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.45, allocations: 2.906 kB / 461.2 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001776/0.4502, allocations: 70.42 kB / 461.3 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.4505, allocations: 84.67 kB / 461.4 MB, free: 140.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.4515, allocations: 1.854 MB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.4517, allocations: 11.33 kB / 463.3 MB, free: 138.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.4518, allocations: 41.28 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.0001958/0.452, allocations: 156.5 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.452, allocations: 29.7 kB / 463.5 MB, free: 138.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.4528, allocations: 442.8 kB / 463.9 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4528, allocations: 8.156 kB / 463.9 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4528, allocations: 0 / 463.9 MB, free: 138 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003801/0.4531, allocations: 0.5614 MB / 464.5 MB, free: 137.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.4541, allocations: 0.6639 MB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4541, allocations: 1.062 kB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.4543, allocations: 77.2 kB / 465.2 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.391e-05/0.4544, allocations: 21.83 kB / 465.2 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.4544, allocations: 17.09 kB / 465.3 MB, free: 137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000472/0.4549, allocations: 1.273 MB / 466.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4549, allocations: 0 / 466.5 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.4554, allocations: 477.4 kB / 467 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.4554, allocations: 26.61 kB / 467 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4554, allocations: 9.25 kB / 467 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.4556, allocations: 8.953 kB / 467 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.4556, allocations: 27.56 kB / 467.1 MB, free: 135.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.4557, allocations: 31.52 kB / 467.1 MB, free: 135.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.4558, allocations: 190.1 kB / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4558, allocations: 0 / 467.3 MB, free: 135.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00044/0.4562, allocations: 123 kB / 467.4 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.0008762/0.4571, allocations: 1.065 MB / 468.5 MB, free: 134.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006162/0.4577, allocations: 356.6 kB / 468.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4577, allocations: 7.938 kB / 468.8 MB, free: 134.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.4579, allocations: 229 kB / 469.1 MB, free: 134.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.4586, allocations: 172 kB / 469.2 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.4617, allocations: 3.123 MB / 472.3 MB, free: 132 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.4618, allocations: 158.6 kB / 472.5 MB, free: 131.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004058/0.4622, allocations: 116 kB / 472.6 MB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.4624, allocations: 129.9 kB / 472.7 MB, free: 131.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.063e-06/0.4624, allocations: 0 / 472.7 MB, free: 131.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.4951, allocations: 12.96 MB / 485.7 MB, free: 125.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/8.867, allocations: 0 / 485.7 MB, free: 125.6 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/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/jenkins/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: 10.689537352882326]