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.001754/0.001754, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002323/0.002323, allocations: 209.5 kB / 23.73 MB, free: 4.523 MB / 14.72 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 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.2441/0.2441, allocations: 46.96 MB / 360.9 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002093/0.002093, allocations: 71.89 kB / 0.4966 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 66.03 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.215/0.5695, allocations: 153.8 MB / 0.7113 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008875/0.5784, allocations: 4.921 MB / 0.7161 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009031/0.5793, allocations: 27.75 kB / 0.7161 GB, free: 4.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.5803, allocations: 306 kB / 0.7164 GB, free: 4.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.5845, allocations: 1.368 MB / 0.7178 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.5875, allocations: 1.07 MB / 0.7188 GB, free: 2.047 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.5904, allocations: 1.879 MB / 0.7206 GB, free: 164 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007785/0.5912, allocations: 389.6 kB / 0.721 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.5942, allocations: 1.121 MB / 0.7221 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001594/0.5958, allocations: 0.7822 MB / 0.7229 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.5959, allocations: 60 kB / 0.7229 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.5975, allocations: 0.5696 MB / 0.7235 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.5978, allocations: 279.2 kB / 0.7238 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004616/0.5983, allocations: 330.6 kB / 0.7241 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002038/0.6003, allocations: 1.308 MB / 0.7253 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6003, allocations: 0 / 0.7253 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6003, allocations: 0 / 0.7253 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.6003, allocations: 0 / 0.7253 GB, free: 11.33 MB / 0.5606 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.002383/0.6027, allocations: 1.041 MB / 0.7264 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.6028, allocations: 8.031 kB / 0.7264 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008688/0.6036, allocations: 147.4 kB / 0.7265 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.6047, allocations: 481.4 kB / 0.727 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.6049, allocations: 151.8 kB / 0.7271 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.605, allocations: 51.98 kB / 0.7272 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.6065, allocations: 1.14 MB / 0.7283 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.6066, allocations: 3.938 kB / 0.7283 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.6066, allocations: 20 kB / 0.7283 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.6067, allocations: 40.92 kB / 0.7283 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.6078, allocations: 0.6165 MB / 0.7289 GB, free: 7.398 MB / 0.5606 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.004718/0.6125, allocations: 3.223 MB / 0.7321 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.6132, allocations: 339.6 kB / 0.7324 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.6135, allocations: 157.3 kB / 0.7326 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.6136, allocations: 12.28 kB / 0.7326 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6136, allocations: 42.83 kB / 0.7326 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.274e-06/0.6136, allocations: 0 / 0.7326 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005566/0.6192, allocations: 1.605 MB / 0.7342 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6193, allocations: 136.5 kB / 0.7343 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/0.62, allocations: 0.5299 MB / 0.7348 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.62, allocations: 33.64 kB / 0.7349 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.6204, allocations: 388.2 kB / 0.7352 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.6205, allocations: 150.7 kB / 0.7354 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.6208, allocations: 166.6 kB / 0.7355 GB, free: 408 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001976/0.621, allocations: 366.8 kB / 0.7359 GB, free: 32 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2437/0.8646, allocations: 199.1 kB / 0.7361 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/0.8654, allocations: 0.5917 MB / 0.7367 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.8664, allocations: 0.7497 MB / 0.7374 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.8665, allocations: 2.75 kB / 0.7374 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001921/0.8684, allocations: 0.8682 MB / 0.7382 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.8684, allocations: 9.25 kB / 0.7382 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.8684, allocations: 14.38 kB / 0.7383 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001509/0.87, allocations: 310 kB / 0.7386 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.8704, allocations: 123.2 kB / 0.7387 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009599/0.8713, allocations: 0.9432 MB / 0.7396 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.8719, allocations: 23.56 kB / 0.7396 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.872, allocations: 69.73 kB / 0.7397 GB, free: 173.5 MB / 0.5606 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.0003584/0.8723, allocations: 241.5 kB / 0.7399 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.8724, allocations: 62.23 kB / 0.74 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.8739, allocations: 0.8615 MB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8739, allocations: 7.219 kB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8739, allocations: 3.906 kB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.8739, allocations: 2.156 kB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.8755, allocations: 1.08 MB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8755, allocations: 4 kB / 0.7419 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009968/0.8765, allocations: 211.1 kB / 0.7421 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.303e-05/0.8766, allocations: 27.66 kB / 0.7421 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.8766, allocations: 26.8 kB / 0.7421 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.878, allocations: 2.616 MB / 0.7447 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.878, allocations: 7.875 kB / 0.7447 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000939/0.8789, allocations: 0.8139 MB / 0.7455 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.8791, allocations: 112.5 kB / 0.7456 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.8792, allocations: 11.94 kB / 0.7456 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.8796, allocations: 18.31 kB / 0.7456 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.8796, allocations: 48.86 kB / 0.7457 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.8797, allocations: 39.7 kB / 0.7457 GB, free: 168.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003146/0.88, allocations: 360.7 kB / 0.7461 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.88, allocations: 0 / 0.7461 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008513/0.8809, allocations: 255.6 kB / 0.7463 GB, free: 168.1 MB / 0.5606 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.0005366/0.8814, allocations: 276.5 kB / 0.7466 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009732/0.8824, allocations: 0.5231 MB / 0.7471 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8824, allocations: 256 / 0.7471 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008568/0.8832, allocations: 412.5 kB / 0.7475 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.8845, allocations: 314.1 kB / 0.7478 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.8862, allocations: 1.336 MB / 0.7491 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.8864, allocations: 344.2 kB / 0.7494 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008716/0.8873, allocations: 444.1 kB / 0.7498 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.8876, allocations: 103.4 kB / 0.7499 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.8876, allocations: 3.719 kB / 0.7499 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.02158/0.9092, allocations: 16.93 MB / 0.7665 GB, free: 147.9 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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: 6.480453145224601]