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.001425/0.001425, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001733/0.001733, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.631/1.631, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2532/0.2532, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.002085/0.002085, allocations: 71.89 kB / 0.4966 GB, free: 7.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3458, allocations: 66.02 MB / 0.5611 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2013/0.5471, allocations: 153.8 MB / 0.7113 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008164/0.5553, allocations: 4.926 MB / 0.7161 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006938/0.556, allocations: 31.69 kB / 0.7161 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.5571, allocations: 302 kB / 0.7164 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.561, allocations: 1.361 MB / 0.7178 GB, free: 5.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.5642, allocations: 1.064 MB / 0.7188 GB, free: 4.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002667/0.5669, allocations: 1.875 MB / 0.7206 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008218/0.5677, allocations: 389.7 kB / 0.721 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002649/0.5703, allocations: 1.125 MB / 0.7221 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.572, allocations: 0.7666 MB / 0.7228 GB, free: 400 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.5722, allocations: 60 kB / 0.7229 GB, free: 340 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.5739, allocations: 0.5462 MB / 0.7234 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003999/0.5743, allocations: 279.1 kB / 0.7237 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005739/0.5748, allocations: 334.6 kB / 0.724 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.5769, allocations: 1.297 MB / 0.7253 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.577, allocations: 4 kB / 0.7253 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.293e-06/0.577, allocations: 0 / 0.7253 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.218e-05/0.577, allocations: 3.938 kB / 0.7253 GB, free: 13.88 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.002938/0.5799, allocations: 1.041 MB / 0.7263 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.58, allocations: 8.031 kB / 0.7263 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009214/0.5809, allocations: 143.4 kB / 0.7265 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.5821, allocations: 485.3 kB / 0.7269 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.5822, allocations: 151.8 kB / 0.7271 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5823, allocations: 59.91 kB / 0.7271 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.584, allocations: 1.136 MB / 0.7282 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.584, allocations: 4 kB / 0.7282 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.5841, allocations: 27.94 kB / 0.7283 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.5842, allocations: 44.92 kB / 0.7283 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.5854, allocations: 0.6127 MB / 0.7289 GB, free: 9.941 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.004906/0.5903, allocations: 3.212 MB / 0.732 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.5909, allocations: 335.6 kB / 0.7324 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.5912, allocations: 157.3 kB / 0.7325 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-05/0.5913, allocations: 20.27 kB / 0.7325 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.5914, allocations: 42.84 kB / 0.7326 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.5914, allocations: 4 kB / 0.7326 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006167/0.5975, allocations: 1.594 MB / 0.7341 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5976, allocations: 136.5 kB / 0.7343 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008736/0.5985, allocations: 0.526 MB / 0.7348 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.432e-05/0.5986, allocations: 33.7 kB / 0.7348 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003525/0.5989, allocations: 392.2 kB / 0.7352 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.5991, allocations: 154.7 kB / 0.7353 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.5994, allocations: 162.6 kB / 0.7355 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.5996, allocations: 366.8 kB / 0.7358 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004283/0.6, allocations: 201.9 kB / 0.736 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.6008, allocations: 0.5916 MB / 0.7366 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.602, allocations: 0.7513 MB / 0.7373 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.6021, allocations: 8 kB / 0.7373 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001631/0.6037, allocations: 0.8649 MB / 0.7382 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6037, allocations: 8.219 kB / 0.7382 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.6037, allocations: 16 kB / 0.7382 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.6051, allocations: 314.9 kB / 0.7385 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.6056, allocations: 127.8 kB / 0.7386 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.6069, allocations: 0.9376 MB / 0.7396 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.6074, allocations: 23.98 kB / 0.7396 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.6075, allocations: 71.94 kB / 0.7396 GB, free: 14.34 MB / 0.5762 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.000388/0.6079, allocations: 245.6 kB / 0.7399 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.608, allocations: 63.62 kB / 0.7399 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.6097, allocations: 0.8533 MB / 0.7408 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.6097, allocations: 4 kB / 0.7408 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.6097, allocations: 3.938 kB / 0.7408 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6097, allocations: 0 / 0.7408 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.6117, allocations: 1.087 MB / 0.7418 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.6117, allocations: 3.938 kB / 0.7418 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.6128, allocations: 215.9 kB / 0.7421 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.476e-05/0.6129, allocations: 24.84 kB / 0.7421 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/0.6129, allocations: 27.92 kB / 0.7421 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.6153, allocations: 2.62 MB / 0.7447 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6153, allocations: 0 / 0.7447 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.6167, allocations: 0.8144 MB / 0.7455 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.617, allocations: 107.6 kB / 0.7456 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.6171, allocations: 8 kB / 0.7456 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.6175, allocations: 20.27 kB / 0.7456 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6176, allocations: 39.89 kB / 0.7456 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.337e-05/0.6176, allocations: 47.97 kB / 0.7457 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004575/0.6181, allocations: 354.8 kB / 0.746 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6181, allocations: 0 / 0.746 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009531/0.6191, allocations: 259.7 kB / 0.7463 GB, free: 7.242 MB / 0.5762 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.000736/0.6198, allocations: 290.3 kB / 0.7465 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.621, allocations: 0.5337 MB / 0.7471 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.621, allocations: 0 / 0.7471 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6221, allocations: 412 kB / 0.7474 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.6236, allocations: 294.9 kB / 0.7477 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.626, allocations: 1.346 MB / 0.749 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.6264, allocations: 328.3 kB / 0.7494 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001055/0.6275, allocations: 453.6 kB / 0.7498 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.6278, allocations: 107.4 kB / 0.7499 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.6278, allocations: 0 / 0.7499 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.2873/0.9151, allocations: 16.69 MB / 0.7662 GB, free: 169.2 MB / 0.5762 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.487987723201513]