Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.001422/0.001422, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00151/0.00151, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.923/0.923, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2644/0.2644, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 378.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.795e-05, allocations: 9.906 kB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2837/0.2838, allocations: 148.8 MB / 0.5145 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.2873, allocations: 2.616 MB / 0.517 GB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.2879, allocations: 29.88 kB / 0.5171 GB, free: 13.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.2885, allocations: 208.1 kB / 0.5173 GB, free: 13.53 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.2909, allocations: 1.19 MB / 0.5184 GB, free: 12.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2925, allocations: 0.8305 MB / 0.5192 GB, free: 12.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.2943, allocations: 1.913 MB / 0.5211 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007431/0.2951, allocations: 421.4 kB / 0.5215 GB, free: 11.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.297, allocations: 1.249 MB / 0.5227 GB, free: 10.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007914/0.2978, allocations: 0.5844 MB / 0.5233 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.2979, allocations: 60.25 kB / 0.5233 GB, free: 10.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007782/0.2987, allocations: 457.3 kB / 0.5238 GB, free: 10.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.2989, allocations: 286.6 kB / 0.5241 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.2992, allocations: 283.4 kB / 0.5243 GB, free: 10.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3004, allocations: 0.9962 MB / 0.5253 GB, free: 9.867 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3004, allocations: 0 / 0.5253 GB, free: 9.867 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3004, allocations: 0 / 0.5253 GB, free: 9.867 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.3005, allocations: 0 / 0.5253 GB, free: 9.867 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001455/0.3019, allocations: 1.128 MB / 0.5264 GB, free: 9.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.3019, allocations: 8.5 kB / 0.5264 GB, free: 9.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005995/0.3025, allocations: 224.2 kB / 0.5266 GB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.3031, allocations: 0.4921 MB / 0.5271 GB, free: 8.703 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.784e-05/0.3032, allocations: 148.8 kB / 0.5272 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.3033, allocations: 56.78 kB / 0.5273 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.304, allocations: 0.9904 MB / 0.5283 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.304, allocations: 0 / 0.5283 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.507e-05/0.304, allocations: 20.22 kB / 0.5283 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.3041, allocations: 39.03 kB / 0.5283 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.3045, allocations: 314.8 kB / 0.5286 GB, free: 7.613 MB / 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.002101/0.3066, allocations: 3.87 MB / 0.5324 GB, free: 4.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3069, allocations: 214.1 kB / 0.5326 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.307, allocations: 85.98 kB / 0.5327 GB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.3071, allocations: 21.47 kB / 0.5327 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3071, allocations: 46.16 kB / 0.5328 GB, free: 4.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.3071, allocations: 0 / 0.5328 GB, free: 4.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.002533/0.3097, allocations: 1.161 MB / 0.5339 GB, free: 3.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.3097, allocations: 131.1 kB / 0.534 GB, free: 3.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.31, allocations: 0.5645 MB / 0.5346 GB, free: 3.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.3101, allocations: 32.58 kB / 0.5346 GB, free: 3.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3102, allocations: 445.9 kB / 0.535 GB, free: 2.695 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.33e-05/0.3103, allocations: 147.3 kB / 0.5352 GB, free: 2.582 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.3104, allocations: 165.7 kB / 0.5353 GB, free: 2.496 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.3105, allocations: 0.5446 MB / 0.5358 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.3106, allocations: 96.47 kB / 0.5359 GB, free: 1.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.3109, allocations: 0.6469 MB / 0.5366 GB, free: 1.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.3113, allocations: 0.6956 MB / 0.5373 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.3113, allocations: 3 kB / 0.5373 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007279/0.312, allocations: 0.6671 MB / 0.5379 GB, free: 256 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3121, allocations: 9.969 kB / 0.5379 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3121, allocations: 11.41 kB / 0.5379 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/0.3127, allocations: 258.8 kB / 0.5382 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3129, allocations: 124 kB / 0.5383 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005986/0.3135, allocations: 1.009 MB / 0.5393 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.3138, allocations: 27.97 kB / 0.5393 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.3138, allocations: 58.45 kB / 0.5394 GB, free: 15.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (70): * Single equations (assignments): 69 * 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.0001669/0.314, allocations: 213.8 kB / 0.5396 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.113e-05/0.3141, allocations: 76 kB / 0.5396 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007518/0.3148, allocations: 0.6861 MB / 0.5403 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3148, allocations: 2.906 kB / 0.5403 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3148, allocations: 7.297 kB / 0.5403 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3148, allocations: 2.344 kB / 0.5403 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009595/0.3158, allocations: 0.9321 MB / 0.5412 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3158, allocations: 7.656 kB / 0.5412 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.3163, allocations: 194.5 kB / 0.5414 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.172e-05/0.3163, allocations: 25.05 kB / 0.5414 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.3164, allocations: 22.14 kB / 0.5415 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/0.3179, allocations: 3.541 MB / 0.5449 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3179, allocations: 2.562 kB / 0.5449 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.3185, allocations: 0.604 MB / 0.5455 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3186, allocations: 94.95 kB / 0.5456 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.3187, allocations: 16.73 kB / 0.5456 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.3188, allocations: 12.55 kB / 0.5456 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.3189, allocations: 42.8 kB / 0.5457 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.319, allocations: 37.88 kB / 0.5457 GB, free: 10.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.3192, allocations: 344.2 kB / 0.546 GB, free: 9.973 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3192, allocations: 0 / 0.546 GB, free: 9.973 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005586/0.3198, allocations: 252.7 kB / 0.5463 GB, free: 9.938 MB / 426.7 MB 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 (38): * Single equations (assignments): 36 * 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.0004463/0.3202, allocations: 266.2 kB / 0.5465 GB, free: 9.797 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005733/0.3208, allocations: 394.9 kB / 0.5469 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3208, allocations: 1.5 kB / 0.5469 GB, free: 9.691 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.3212, allocations: 397.8 kB / 0.5473 GB, free: 9.473 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.322, allocations: 320.6 kB / 0.5476 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3236, allocations: 1.155 MB / 0.5487 GB, free: 8.566 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3237, allocations: 169.9 kB / 0.5489 GB, free: 8.441 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000563/0.3243, allocations: 421.4 kB / 0.5493 GB, free: 8.238 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.3245, allocations: 98.61 kB / 0.5494 GB, free: 8.207 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3245, allocations: 0 / 0.5494 GB, free: 8.207 MB / 426.7 MB Notification: Performance of Templates: time 0.01847/0.343, allocations: 16.41 MB / 0.5654 GB, free: 8.805 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9067050400190055]