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.001843/0.001843, allocations: 100.6 kB / 21.22 MB, free: 0.6562 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.001375/0.001375, allocations: 185.2 kB / 24.51 MB, free: 4.012 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.477/1.477, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2398/0.2398, allocations: 44.91 MB / 353.5 MB, free: 11.84 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.002302/0.002302, allocations: 67.89 kB / 497.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4645, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2497/0.7142, allocations: 175.1 MB / 0.7198 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.7244, allocations: 5.399 MB / 0.7251 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.7256, allocations: 27.75 kB / 0.7251 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.7272, allocations: 322 kB / 0.7254 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.7325, allocations: 1.364 MB / 0.7268 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.7365, allocations: 1.09 MB / 0.7278 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003387/0.7399, allocations: 1.868 MB / 0.7297 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.7409, allocations: 389.6 kB / 0.73 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/0.7442, allocations: 1.109 MB / 0.7311 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/0.7465, allocations: 0.8015 MB / 0.7319 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003589/0.7469, allocations: 67.94 kB / 0.732 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.7491, allocations: 0.6437 MB / 0.7326 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005697/0.7497, allocations: 271.2 kB / 0.7328 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.7507, allocations: 390.2 kB / 0.7332 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.7541, allocations: 1.316 MB / 0.7345 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7541, allocations: 0 / 0.7345 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7541, allocations: 0 / 0.7345 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.378e-05/0.7542, allocations: 0 / 0.7345 GB, free: 0.6094 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.3761/1.13, allocations: 1.045 MB / 0.7355 GB, free: 186 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/1.13, allocations: 10.17 kB / 0.7355 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.131, allocations: 141.8 kB / 0.7357 GB, free: 186 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/1.133, allocations: 473.4 kB / 0.7361 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/1.133, allocations: 103 kB / 0.7362 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/1.133, allocations: 52.14 kB / 0.7363 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.135, allocations: 0.8215 MB / 0.7371 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.135, allocations: 1.562 kB / 0.7371 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/1.135, allocations: 24.48 kB / 0.7371 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-05/1.135, allocations: 42.14 kB / 0.7371 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.136, allocations: 0.6235 MB / 0.7377 GB, free: 185 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.004106/1.14, allocations: 3.905 MB / 0.7416 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/1.141, allocations: 343.7 kB / 0.7419 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/1.141, allocations: 161.5 kB / 0.742 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/1.141, allocations: 13.41 kB / 0.742 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.141, allocations: 43.27 kB / 0.7421 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/1.141, allocations: 3.938 kB / 0.7421 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005756/1.147, allocations: 1.607 MB / 0.7437 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/1.147, allocations: 132.9 kB / 0.7438 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/1.148, allocations: 0.615 MB / 0.7444 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/1.148, allocations: 35.83 kB / 0.7444 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/1.148, allocations: 374.6 kB / 0.7448 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/1.148, allocations: 152.8 kB / 0.7449 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/1.148, allocations: 161.3 kB / 0.7451 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.148, allocations: 376 kB / 0.7454 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/1.149, allocations: 196.5 kB / 0.7456 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/1.149, allocations: 0.5161 MB / 0.7461 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/1.15, allocations: 0.7494 MB / 0.7469 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.15, allocations: 3.969 kB / 0.7469 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001216/1.151, allocations: 0.8823 MB / 0.7477 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.151, allocations: 11.78 kB / 0.7477 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.151, allocations: 7.719 kB / 0.7477 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/1.153, allocations: 321.6 kB / 0.7481 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/1.153, allocations: 127.8 kB / 0.7482 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008614/1.154, allocations: 0.9253 MB / 0.7491 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/1.154, allocations: 31.98 kB / 0.7491 GB, free: 176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.173e-05/1.154, allocations: 72.05 kB / 0.7492 GB, free: 175.9 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.0003202/1.155, allocations: 241.5 kB / 0.7494 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/1.155, allocations: 71.58 kB / 0.7495 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/1.156, allocations: 0.8741 MB / 0.7503 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.156, allocations: 7.938 kB / 0.7503 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.156, allocations: 3.938 kB / 0.7503 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.156, allocations: 3.984 kB / 0.7503 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.158, allocations: 1.204 MB / 0.7515 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.158, allocations: 0 / 0.7515 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009543/1.159, allocations: 212 kB / 0.7517 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.662e-05/1.159, allocations: 28.83 kB / 0.7517 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/1.159, allocations: 16 kB / 0.7518 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/1.16, allocations: 2.682 MB / 0.7544 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.16, allocations: 3.938 kB / 0.7544 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/1.161, allocations: 0.8246 MB / 0.7552 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/1.162, allocations: 115.5 kB / 0.7553 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/1.162, allocations: 15.94 kB / 0.7553 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/1.162, allocations: 24.05 kB / 0.7553 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/1.162, allocations: 35.89 kB / 0.7554 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/1.162, allocations: 47.97 kB / 0.7554 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004068/1.163, allocations: 435 kB / 0.7558 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.163, allocations: 0 / 0.7558 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008434/1.163, allocations: 255.8 kB / 0.7561 GB, free: 168.5 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.000711/1.164, allocations: 290.9 kB / 0.7564 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00101/1.165, allocations: 0.5439 MB / 0.7569 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.165, allocations: 0 / 0.7569 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/1.166, allocations: 410.2 kB / 0.7573 GB, free: 167.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.167, allocations: 382.4 kB / 0.7576 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/1.169, allocations: 1.353 MB / 0.759 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/1.17, allocations: 0.9299 MB / 0.7599 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000821/1.17, allocations: 466.4 kB / 0.7603 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.171, allocations: 111.4 kB / 0.7604 GB, free: 164 MB / 0.5606 GB Notification: Performance of SimCode: time 5.92e-07/1.171, allocations: 0 / 0.7604 GB, free: 164 MB / 0.5606 GB Notification: Performance of Templates: time 0.02393/1.195, allocations: 18.11 MB / 0.7781 GB, free: 146.1 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.674667052924633]