Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002198/0.002198, allocations: 194.5 kB / 22.98 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 225.6 MB / 251.6 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2537/0.2537, allocations: 44.92 MB / 351.6 MB, free: 12.22 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 67.89 kB / 495.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4549, allocations: 64.25 MB / 0.5464 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2373/0.6921, allocations: 175.1 MB / 0.7174 GB, free: 108 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009353/0.7015, allocations: 5.385 MB / 0.7226 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009653/0.7025, allocations: 19.88 kB / 0.7227 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.7036, allocations: 326 kB / 0.723 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00449/0.7081, allocations: 1.347 MB / 0.7243 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.7115, allocations: 1.059 MB / 0.7253 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002978/0.7144, allocations: 1.856 MB / 0.7271 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007426/0.7152, allocations: 393.4 kB / 0.7275 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.7178, allocations: 1.086 MB / 0.7286 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.7194, allocations: 0.7938 MB / 0.7293 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.7195, allocations: 63.94 kB / 0.7294 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.7215, allocations: 0.6319 MB / 0.73 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.7219, allocations: 275.2 kB / 0.7303 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.7224, allocations: 398.2 kB / 0.7307 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.7246, allocations: 1.316 MB / 0.732 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.7246, allocations: 0 / 0.732 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7246, allocations: 0 / 0.732 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.7246, allocations: 0 / 0.732 GB, free: 1.152 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.3554/1.08, allocations: 1.117 MB / 0.733 GB, free: 186 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.989e-05/1.08, allocations: 9.5 kB / 0.7331 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/1.082, allocations: 137 kB / 0.7332 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/1.083, allocations: 0.5351 MB / 0.7337 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/1.083, allocations: 104.2 kB / 0.7338 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.084, allocations: 48.38 kB / 0.7338 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/1.086, allocations: 0.8279 MB / 0.7347 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/1.086, allocations: 1.531 kB / 0.7347 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.086, allocations: 19.84 kB / 0.7347 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/1.086, allocations: 40.66 kB / 0.7347 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/1.087, allocations: 0.6227 MB / 0.7353 GB, free: 184.9 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.004672/1.092, allocations: 3.958 MB / 0.7392 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/1.093, allocations: 339.2 kB / 0.7395 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/1.093, allocations: 168.5 kB / 0.7397 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/1.093, allocations: 90.77 kB / 0.7398 GB, free: 181.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/1.093, allocations: 37.88 kB / 0.7398 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 3.346e-06/1.093, allocations: 3.938 kB / 0.7398 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005962/1.099, allocations: 1.682 MB / 0.7414 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.099, allocations: 137 kB / 0.7416 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/1.1, allocations: 0.6146 MB / 0.7422 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/1.1, allocations: 40.02 kB / 0.7422 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/1.1, allocations: 372.3 kB / 0.7426 GB, free: 179.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.1, allocations: 154.6 kB / 0.7427 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.101, allocations: 156.5 kB / 0.7429 GB, free: 179 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.101, allocations: 371 kB / 0.7432 GB, free: 178.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/1.101, allocations: 205.1 kB / 0.7434 GB, free: 178.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/1.102, allocations: 0.5139 MB / 0.7439 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/1.103, allocations: 0.748 MB / 0.7446 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/1.103, allocations: 2.75 kB / 0.7446 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001424/1.104, allocations: 0.8894 MB / 0.7455 GB, free: 177 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.104, allocations: 7.938 kB / 0.7455 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/1.104, allocations: 11.91 kB / 0.7455 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/1.105, allocations: 309.1 kB / 0.7458 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/1.106, allocations: 126.1 kB / 0.746 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009098/1.107, allocations: 0.9382 MB / 0.7469 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/1.107, allocations: 31.86 kB / 0.7469 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/1.107, allocations: 63.25 kB / 0.747 GB, free: 176.1 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.0003409/1.108, allocations: 248.8 kB / 0.7472 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/1.108, allocations: 67.77 kB / 0.7473 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1.109, allocations: 0.8731 MB / 0.7481 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.109, allocations: 4 kB / 0.7481 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.109, allocations: 0 / 0.7481 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.109, allocations: 0 / 0.7481 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.111, allocations: 1.457 MB / 0.7495 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.111, allocations: 0 / 0.7495 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/1.112, allocations: 211.8 kB / 0.7497 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.062e-05/1.112, allocations: 20.84 kB / 0.7498 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/1.112, allocations: 24.19 kB / 0.7498 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/1.114, allocations: 2.881 MB / 0.7526 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.114, allocations: 3.938 kB / 0.7526 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/1.115, allocations: 0.8172 MB / 0.7534 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/1.115, allocations: 196.6 kB / 0.7536 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/1.115, allocations: 11.94 kB / 0.7536 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/1.115, allocations: 19.98 kB / 0.7536 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/1.115, allocations: 43.95 kB / 0.7537 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/1.116, allocations: 43.98 kB / 0.7537 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004557/1.116, allocations: 443 kB / 0.7541 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.116, allocations: 0 / 0.7541 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009362/1.117, allocations: 255.7 kB / 0.7544 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.000727/1.118, allocations: 294 kB / 0.7546 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.119, allocations: 0.5341 MB / 0.7552 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.119, allocations: 0 / 0.7552 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000881/1.12, allocations: 414.7 kB / 0.7556 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.121, allocations: 385.1 kB / 0.7559 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/1.123, allocations: 1.358 MB / 0.7573 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/1.123, allocations: 0.9417 MB / 0.7582 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008807/1.124, allocations: 454.4 kB / 0.7586 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/1.125, allocations: 115.4 kB / 0.7587 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/1.125, allocations: 0 / 0.7587 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.02632/1.151, allocations: 17.89 MB / 0.7762 GB, free: 145.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.5718941651284695]