Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008198/0.0008198, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001135/0.001135, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9114/0.9114, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2556/0.2556, allocations: 34.23 MB / 294.8 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 4 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.725e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.348/0.348, allocations: 153.8 MB / 0.582 GB, free: 6.656 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.005143/0.3531, allocations: 4.919 MB / 0.5868 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.3535, allocations: 31.69 kB / 0.5868 GB, free: 1.695 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006779/0.3542, allocations: 301.9 kB / 0.5871 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.3565, allocations: 1.392 MB / 0.5885 GB, free: 0 / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.3581, allocations: 1.096 MB / 0.5895 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001387/0.3595, allocations: 1.875 MB / 0.5914 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.36, allocations: 405.4 kB / 0.5917 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3616, allocations: 1.336 MB / 0.593 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008266/0.3624, allocations: 0.7352 MB / 0.5938 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.3625, allocations: 60 kB / 0.5938 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3636, allocations: 0.5499 MB / 0.5944 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.3639, allocations: 283.1 kB / 0.5946 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.3643, allocations: 287.4 kB / 0.5949 GB, free: 9.387 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.3661, allocations: 1.383 MB / 0.5963 GB, free: 8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3661, allocations: 0 / 0.5963 GB, free: 8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3661, allocations: 3.281 kB / 0.5963 GB, free: 8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.3661, allocations: 0 / 0.5963 GB, free: 8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001924/0.368, allocations: 1.049 MB / 0.5973 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3681, allocations: 8.031 kB / 0.5973 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001049/0.3682, allocations: 102.5 kB / 0.5974 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000491/0.3687, allocations: 135.5 kB / 0.5975 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006636/0.3693, allocations: 481.3 kB / 0.598 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.3695, allocations: 155.8 kB / 0.5981 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.3696, allocations: 48 kB / 0.5982 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.3706, allocations: 1.144 MB / 0.5993 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.3706, allocations: 3.938 kB / 0.5993 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.3707, allocations: 28 kB / 0.5993 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/0.3707, allocations: 32.98 kB / 0.5994 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.3715, allocations: 0.6204 MB / 0.6 GB, free: 3.965 MB / 0.4948 GB 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.002931/0.3745, allocations: 3.296 MB / 0.6032 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.3749, allocations: 343.6 kB / 0.6035 GB, free: 220 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.3751, allocations: 157.3 kB / 0.6037 GB, free: 60 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.477e-05/0.3751, allocations: 16.27 kB / 0.6037 GB, free: 44 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3752, allocations: 42.84 kB / 0.6037 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.3752, allocations: 0 / 0.6037 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003339/0.3785, allocations: 1.608 MB / 0.6053 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.3786, allocations: 132.5 kB / 0.6054 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.3792, allocations: 0.6365 MB / 0.606 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.3792, allocations: 33.7 kB / 0.6061 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3794, allocations: 371.9 kB / 0.6064 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.3795, allocations: 150.7 kB / 0.6066 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.3797, allocations: 154.6 kB / 0.6067 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3798, allocations: 374.8 kB / 0.6071 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.3801, allocations: 205.9 kB / 0.6073 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.3805, allocations: 0.5919 MB / 0.6078 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.3812, allocations: 0.7477 MB / 0.6086 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3812, allocations: 4.562 kB / 0.6086 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009878/0.3822, allocations: 0.8728 MB / 0.6094 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3823, allocations: 15.97 kB / 0.6094 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.3823, allocations: 12 kB / 0.6095 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/0.3831, allocations: 310 kB / 0.6097 GB, free: 9.375 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3833, allocations: 119.8 kB / 0.6099 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000791/0.3841, allocations: 0.9355 MB / 0.6108 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.3844, allocations: 24 kB / 0.6108 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.776e-05/0.3845, allocations: 75.36 kB / 0.6109 GB, free: 8.203 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002906/0.3848, allocations: 250.8 kB / 0.6111 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.3849, allocations: 75.52 kB / 0.6112 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3859, allocations: 0.8587 MB / 0.612 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3859, allocations: 7.984 kB / 0.612 GB, free: 7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3859, allocations: 9.625 kB / 0.612 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3859, allocations: 1.562 kB / 0.612 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.3873, allocations: 1.145 MB / 0.6132 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3873, allocations: 3.938 kB / 0.6132 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.3879, allocations: 211.8 kB / 0.6134 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.48e-05/0.388, allocations: 25.03 kB / 0.6134 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.388, allocations: 19.98 kB / 0.6134 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.3894, allocations: 2.658 MB / 0.616 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3894, allocations: 8.016 kB / 0.616 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008886/0.3903, allocations: 0.8338 MB / 0.6168 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.3905, allocations: 103.5 kB / 0.6169 GB, free: 1.656 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.3906, allocations: 15.98 kB / 0.6169 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.3908, allocations: 12 kB / 0.6169 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.254e-05/0.3909, allocations: 43.88 kB / 0.617 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.3909, allocations: 43.98 kB / 0.617 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003887/0.3913, allocations: 443 kB / 0.6175 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3913, allocations: 4.156 kB / 0.6175 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007/0.392, allocations: 251.8 kB / 0.6177 GB, free: 0.8633 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001629/0.3936, allocations: 1.551 MB / 0.6192 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009265/0.3946, allocations: 0.5312 MB / 0.6197 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3946, allocations: 0 / 0.6197 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006125/0.3952, allocations: 406.9 kB / 0.6201 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3963, allocations: 379.6 kB / 0.6205 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/0.4036, allocations: 6.245 MB / 0.6266 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4038, allocations: 336.7 kB / 0.6269 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000823/0.4047, allocations: 462.9 kB / 0.6273 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.405, allocations: 284.4 kB / 0.6276 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of SimCode: time 1.933e-06/0.4051, allocations: 0 / 0.6276 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2244/0.6295, allocations: 25.69 MB / 0.6527 GB, free: 162.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/9.223, allocations: 0 / 0.6527 GB, free: 162.6 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.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 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.399805632419884]