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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 107.2 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 195.7 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 252.1 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2378/0.2378, allocations: 44.91 MB / 352.1 MB, free: 12.3 MB / 286.1 MB [Timeout remaining time 89] 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.002253/0.002253, allocations: 63.89 kB / 495.6 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4611, allocations: 64.27 MB / 0.5468 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.246/0.7071, allocations: 174.9 MB / 0.7176 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009455/0.7166, allocations: 5.358 MB / 0.7228 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.7176, allocations: 19.88 kB / 0.7228 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.7187, allocations: 318 kB / 0.7231 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.7231, allocations: 1.355 MB / 0.7244 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003367/0.7265, allocations: 1.078 MB / 0.7255 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003127/0.7296, allocations: 1.848 MB / 0.7273 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008248/0.7304, allocations: 413.4 kB / 0.7277 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.7336, allocations: 1.078 MB / 0.7287 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.7352, allocations: 0.8017 MB / 0.7295 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.7354, allocations: 60 kB / 0.7296 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.7373, allocations: 0.6281 MB / 0.7302 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003736/0.7377, allocations: 275.2 kB / 0.7305 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.7382, allocations: 402.2 kB / 0.7308 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/0.7407, allocations: 1.304 MB / 0.7321 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7408, allocations: 0 / 0.7321 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7408, allocations: 0 / 0.7321 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.7408, allocations: 8 kB / 0.7321 GB, free: 1.562 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.002624/0.7434, allocations: 1.117 MB / 0.7332 GB, free: 404 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.7434, allocations: 8.031 kB / 0.7332 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000849/0.7443, allocations: 135.5 kB / 0.7333 GB, free: 260 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3709/1.115, allocations: 0.5363 MB / 0.7339 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/1.115, allocations: 98.92 kB / 0.734 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.115, allocations: 51.89 kB / 0.734 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/1.117, allocations: 0.8209 MB / 0.7348 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/1.117, allocations: 5.594 kB / 0.7348 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/1.117, allocations: 23.19 kB / 0.7348 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/1.117, allocations: 40.05 kB / 0.7349 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/1.119, allocations: 0.627 MB / 0.7355 GB, free: 185.2 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.004482/1.123, allocations: 3.956 MB / 0.7394 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/1.124, allocations: 340.5 kB / 0.7397 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/1.124, allocations: 161.4 kB / 0.7398 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/1.124, allocations: 89.92 kB / 0.7399 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.124, allocations: 46.47 kB / 0.74 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.764e-06/1.124, allocations: 0 / 0.74 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005761/1.13, allocations: 1.688 MB / 0.7416 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/1.13, allocations: 136.7 kB / 0.7417 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/1.131, allocations: 0.607 MB / 0.7423 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/1.131, allocations: 40.27 kB / 0.7424 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/1.131, allocations: 375.5 kB / 0.7427 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/1.132, allocations: 155 kB / 0.7429 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/1.132, allocations: 157.7 kB / 0.743 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.132, allocations: 374 kB / 0.7434 GB, free: 179 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/1.132, allocations: 201.1 kB / 0.7436 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/1.133, allocations: 0.5161 MB / 0.7441 GB, free: 178.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009169/1.134, allocations: 0.7445 MB / 0.7448 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/1.134, allocations: 2.344 kB / 0.7448 GB, free: 177.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001481/1.135, allocations: 0.8863 MB / 0.7457 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.135, allocations: 11.88 kB / 0.7457 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.135, allocations: 11.91 kB / 0.7457 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/1.137, allocations: 317.9 kB / 0.746 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/1.137, allocations: 122.9 kB / 0.7461 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/1.138, allocations: 0.9306 MB / 0.747 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/1.138, allocations: 31.23 kB / 0.7471 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/1.139, allocations: 61.5 kB / 0.7471 GB, free: 176.4 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.0003663/1.139, allocations: 256.9 kB / 0.7474 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.139, allocations: 66.39 kB / 0.7474 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.14, allocations: 0.8638 MB / 0.7483 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.14, allocations: 4 kB / 0.7483 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.14, allocations: 7.938 kB / 0.7483 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.14, allocations: 3.984 kB / 0.7483 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/1.142, allocations: 1.457 MB / 0.7497 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/1.142, allocations: 0 / 0.7497 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/1.143, allocations: 211.8 kB / 0.7499 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-05/1.143, allocations: 29.03 kB / 0.7499 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/1.143, allocations: 19.98 kB / 0.75 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.145, allocations: 2.869 MB / 0.7528 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.145, allocations: 0 / 0.7528 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/1.146, allocations: 0.8249 MB / 0.7536 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/1.146, allocations: 188.7 kB / 0.7537 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/1.146, allocations: 15.95 kB / 0.7538 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/1.146, allocations: 19.98 kB / 0.7538 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/1.147, allocations: 55.77 kB / 0.7538 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/1.147, allocations: 43.98 kB / 0.7539 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004359/1.147, allocations: 443 kB / 0.7543 GB, free: 169 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.147, allocations: 0 / 0.7543 GB, free: 169 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009707/1.148, allocations: 255.7 kB / 0.7545 GB, free: 168.7 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.0007148/1.149, allocations: 301.4 kB / 0.7548 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.15, allocations: 0.5382 MB / 0.7554 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.15, allocations: 4 kB / 0.7554 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008482/1.151, allocations: 398.3 kB / 0.7557 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.152, allocations: 355.3 kB / 0.7561 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/1.154, allocations: 1.405 MB / 0.7574 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/1.154, allocations: 0.9261 MB / 0.7584 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.155, allocations: 127.4 kB / 0.7585 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.021e-06/1.155, allocations: 0 / 0.7585 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.01835/1.173, allocations: 16.6 MB / 0.7747 GB, free: 148.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/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