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.001483/0.001483, allocations: 104.9 kB / 21.96 MB, free: 5.219 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.001566/0.001566, allocations: 213.5 kB / 25.26 MB, free: 3.129 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.268/1.268, allocations: 207.7 MB / 236.1 MB, free: 9.797 MB / 190.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.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="cs",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="cs",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.001581/0.001581, allocations: 51.94 kB / 348 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2171, allocations: 49.15 MB / 397.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.1645/0.3816, allocations: 149.3 MB / 0.5336 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003635/0.3852, allocations: 2.948 MB / 0.5365 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.3854, allocations: 7.938 kB / 0.5365 GB, free: 10.37 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.3859, allocations: 166.9 kB / 0.5367 GB, free: 10.2 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008025/0.3867, allocations: 413.6 kB / 0.5371 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.3875, allocations: 347.3 kB / 0.5374 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009991/0.3885, allocations: 0.9109 MB / 0.5383 GB, free: 8.547 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.3887, allocations: 84.86 kB / 0.5384 GB, free: 8.465 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.3903, allocations: 0.8076 MB / 0.5392 GB, free: 7.656 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.3907, allocations: 290.9 kB / 0.5394 GB, free: 7.371 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.539e-05/0.3908, allocations: 28 kB / 0.5395 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.3911, allocations: 123.9 kB / 0.5396 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3912, allocations: 103.6 kB / 0.5397 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.3914, allocations: 155.5 kB / 0.5398 GB, free: 6.969 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.392, allocations: 0.5217 MB / 0.5403 GB, free: 6.445 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.392, allocations: 0 / 0.5403 GB, free: 6.445 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.392, allocations: 0 / 0.5403 GB, free: 6.445 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.392, allocations: 0 / 0.5403 GB, free: 6.445 MB / 462.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.0007929/0.3928, allocations: 0.5206 MB / 0.5408 GB, free: 5.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3928, allocations: 15.92 kB / 0.5409 GB, free: 5.879 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.3928, allocations: 8.5 kB / 0.5409 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.91e-05/0.3929, allocations: 62.48 kB / 0.5409 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.3932, allocations: 47.8 kB / 0.541 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.3936, allocations: 232.7 kB / 0.5412 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3936, allocations: 16.5 kB / 0.5412 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3936, allocations: 24 kB / 0.5412 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006337/0.3943, allocations: 0.5489 MB / 0.5418 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3943, allocations: 0 / 0.5418 GB, free: 4.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.3943, allocations: 12 kB / 0.5418 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3943, allocations: 4 kB / 0.5418 GB, free: 4.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003351/0.3947, allocations: 213.5 kB / 0.542 GB, free: 4.598 MB / 462.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.001622/0.3963, allocations: 1.187 MB / 0.5431 GB, free: 3.344 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.3966, allocations: 166.7 kB / 0.5433 GB, free: 3.172 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3967, allocations: 88.83 kB / 0.5434 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/0.3967, allocations: 7.984 kB / 0.5434 GB, free: 3.074 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.3968, allocations: 38.5 kB / 0.5434 GB, free: 3.027 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.3968, allocations: 0 / 0.5434 GB, free: 3.027 MB / 462.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.005217/0.402, allocations: 1.311 MB / 0.5447 GB, free: 1.656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.402, allocations: 55.41 kB / 0.5448 GB, free: 1.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.4024, allocations: 253 kB / 0.545 GB, free: 1.332 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.4024, allocations: 33.7 kB / 0.545 GB, free: 1.293 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.4025, allocations: 180.5 kB / 0.5452 GB, free: 1.113 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.765e-05/0.4026, allocations: 107.1 kB / 0.5453 GB, free: 1.008 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4027, allocations: 81.69 kB / 0.5454 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4029, allocations: 334.8 kB / 0.5457 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.4031, allocations: 91.95 kB / 0.5458 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.4033, allocations: 195.8 kB / 0.546 GB, free: 268 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.4038, allocations: 303.8 kB / 0.5463 GB, free: 15.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4038, allocations: 3.938 kB / 0.5463 GB, free: 15.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006655/0.4044, allocations: 402.8 kB / 0.5467 GB, free: 15.51 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4044, allocations: 4 kB / 0.5467 GB, free: 15.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4044, allocations: 4 kB / 0.5467 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002208/0.4047, allocations: 73.67 kB / 0.5467 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.405, allocations: 87.83 kB / 0.5468 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.4066, allocations: 1.84 MB / 0.5486 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.4068, allocations: 12 kB / 0.5486 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.167e-05/0.4068, allocations: 43.98 kB / 0.5487 GB, free: 13.3 MB / 478.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.0001868/0.407, allocations: 157.6 kB / 0.5488 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.4071, allocations: 32.06 kB / 0.5489 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/0.4079, allocations: 439.8 kB / 0.5493 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.408, allocations: 4 kB / 0.5493 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.408, allocations: 3.938 kB / 0.5493 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006233/0.4086, allocations: 0.5591 MB / 0.5498 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4096, allocations: 0.6642 MB / 0.5505 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4096, allocations: 4.062 kB / 0.5505 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.4099, allocations: 63.95 kB / 0.5505 GB, free: 11.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.123e-05/0.41, allocations: 28.78 kB / 0.5506 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.41, allocations: 11.98 kB / 0.5506 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.4111, allocations: 1.279 MB / 0.5518 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4111, allocations: 8.094 kB / 0.5518 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.4118, allocations: 475.2 kB / 0.5523 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.4119, allocations: 23.88 kB / 0.5523 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.4119, allocations: 8 kB / 0.5523 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.4122, allocations: 16 kB / 0.5523 GB, free: 9.238 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.4122, allocations: 35.83 kB / 0.5524 GB, free: 9.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.4123, allocations: 27.98 kB / 0.5524 GB, free: 9.176 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001999/0.4125, allocations: 185.2 kB / 0.5526 GB, free: 8.996 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4125, allocations: 0 / 0.5526 GB, free: 8.996 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005203/0.413, allocations: 127.9 kB / 0.5527 GB, free: 8.871 MB / 478.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.001267/0.4143, allocations: 1.066 MB / 0.5537 GB, free: 7.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.415, allocations: 362.5 kB / 0.5541 GB, free: 7.402 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.415, allocations: 0 / 0.5541 GB, free: 7.402 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003144/0.4153, allocations: 230.4 kB / 0.5543 GB, free: 7.164 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/0.4162, allocations: 169.8 kB / 0.5545 GB, free: 7 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.4203, allocations: 3.193 MB / 0.5576 GB, free: 3.617 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.4204, allocations: 159.8 kB / 0.5577 GB, free: 3.441 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.4208, allocations: 114.9 kB / 0.5578 GB, free: 3.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.4211, allocations: 131.4 kB / 0.558 GB, free: 3.203 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4211, allocations: 0 / 0.558 GB, free: 3.203 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1816/0.6027, allocations: 12.56 MB / 0.5702 GB, free: 162.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.09, allocations: 18.03 kB / 0.5703 GB, free: 162.2 MB / 478.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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: 15.455651249969378]