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.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.000918/0.000918, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001163/0.001163, allocations: 165 kB / 24.99 MB, free: 8.758 MB / 18.57 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 0.9946/0.9946, allocations: 177.1 MB / 205.3 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.252/0.252, allocations: 32.8 MB / 294.6 MB, free: 1.309 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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 1.233e-06/1.233e-06, allocations: 0 / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.697e-05/1.821e-05, allocations: 5.828 kB / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3145/0.3146, allocations: 170.8 MB / 0.534 GB, free: 2.793 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005782/0.3203, allocations: 5.404 MB / 0.5393 GB, free: 15.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.3208, allocations: 31.28 kB / 0.5393 GB, free: 15.14 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.3216, allocations: 315 kB / 0.5396 GB, free: 14.97 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.3244, allocations: 1.386 MB / 0.541 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.3265, allocations: 1.087 MB / 0.5421 GB, free: 13.67 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.3284, allocations: 1.889 MB / 0.5439 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007878/0.3292, allocations: 413.4 kB / 0.5443 GB, free: 12.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002448/0.3317, allocations: 1.355 MB / 0.5456 GB, free: 11.97 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.3327, allocations: 0.7209 MB / 0.5463 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.3328, allocations: 63.06 kB / 0.5464 GB, free: 11.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000996/0.3338, allocations: 0.5567 MB / 0.5469 GB, free: 11.36 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.334, allocations: 293.1 kB / 0.5472 GB, free: 11.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.3343, allocations: 286.4 kB / 0.5475 GB, free: 11.03 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.3357, allocations: 1.101 MB / 0.5486 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3357, allocations: 0 / 0.5486 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3357, allocations: 0 / 0.5486 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3357, allocations: 0 / 0.5486 GB, free: 10.38 MB / 426.7 MB 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.00171/0.3374, allocations: 1.146 MB / 0.5497 GB, free: 9.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3375, allocations: 8.344 kB / 0.5497 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008675/0.3383, allocations: 223.1 kB / 0.5499 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000749/0.3391, allocations: 488.8 kB / 0.5504 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3392, allocations: 160.7 kB / 0.5505 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.3393, allocations: 60.73 kB / 0.5506 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3404, allocations: 0.9955 MB / 0.5515 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.3404, allocations: 6.844 kB / 0.5515 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.586e-05/0.3404, allocations: 25.92 kB / 0.5516 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.164e-05/0.3405, allocations: 44 kB / 0.5516 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006067/0.3411, allocations: 305.2 kB / 0.5519 GB, free: 7.727 MB / 426.7 MB 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.003409/0.3445, allocations: 3.877 MB / 0.5557 GB, free: 4.199 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.3449, allocations: 218.5 kB / 0.5559 GB, free: 4.094 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.3451, allocations: 88.05 kB / 0.556 GB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.58e-05/0.3451, allocations: 15.61 kB / 0.556 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.3452, allocations: 47.17 kB / 0.556 GB, free: 4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/0.3452, allocations: 0 / 0.556 GB, free: 4 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.003401/0.3486, allocations: 1.162 MB / 0.5572 GB, free: 3.266 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3486, allocations: 132.5 kB / 0.5573 GB, free: 3.105 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.3491, allocations: 0.5413 MB / 0.5578 GB, free: 2.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.3492, allocations: 33.7 kB / 0.5579 GB, free: 2.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3494, allocations: 435 kB / 0.5583 GB, free: 2.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3495, allocations: 162.7 kB / 0.5584 GB, free: 1.914 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.3497, allocations: 156.2 kB / 0.5586 GB, free: 1.754 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3499, allocations: 0.5508 MB / 0.5591 GB, free: 1.191 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.3501, allocations: 85.94 kB / 0.5592 GB, free: 1.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004686/0.3506, allocations: 0.623 MB / 0.5598 GB, free: 264 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.3513, allocations: 0.6619 MB / 0.5605 GB, free: 15.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3513, allocations: 4 kB / 0.5605 GB, free: 15.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001037/0.3523, allocations: 0.6528 MB / 0.5611 GB, free: 14.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3523, allocations: 8 kB / 0.5611 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3523, allocations: 12 kB / 0.5611 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008377/0.3532, allocations: 255.5 kB / 0.5614 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3535, allocations: 120.7 kB / 0.5615 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.3545, allocations: 1.007 MB / 0.5625 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.3548, allocations: 24 kB / 0.5625 GB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.3549, allocations: 63.98 kB / 0.5625 GB, free: 13.22 MB / 442.7 MB 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.000193/0.3551, allocations: 204.3 kB / 0.5627 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.3552, allocations: 71.62 kB / 0.5628 GB, free: 12.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3563, allocations: 0.6897 MB / 0.5635 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3563, allocations: 4 kB / 0.5635 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3563, allocations: 0 / 0.5635 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3563, allocations: 0 / 0.5635 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.3576, allocations: 0.9449 MB / 0.5644 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.3576, allocations: 3.984 kB / 0.5644 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.3582, allocations: 187.8 kB / 0.5646 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.249e-05/0.3583, allocations: 31.8 kB / 0.5646 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.3584, allocations: 19.98 kB / 0.5646 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.3601, allocations: 3.564 MB / 0.5681 GB, free: 7.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3601, allocations: 4 kB / 0.5681 GB, free: 7.176 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.3607, allocations: 0.5957 MB / 0.5687 GB, free: 6.531 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.3609, allocations: 99.56 kB / 0.5688 GB, free: 6.434 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.045e-05/0.3609, allocations: 8 kB / 0.5688 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.3611, allocations: 23.92 kB / 0.5688 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.3612, allocations: 31.95 kB / 0.5689 GB, free: 6.371 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.3612, allocations: 40.08 kB / 0.5689 GB, free: 6.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003325/0.3616, allocations: 346.7 kB / 0.5692 GB, free: 5.996 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3616, allocations: 0 / 0.5692 GB, free: 5.996 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000647/0.3622, allocations: 251.8 kB / 0.5695 GB, free: 5.75 MB / 442.7 MB 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 (38): * Single equations (assignments): 36 * 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.0004923/0.3627, allocations: 292.1 kB / 0.5697 GB, free: 5.461 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006234/0.3633, allocations: 381.9 kB / 0.5701 GB, free: 5.086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3633, allocations: 0 / 0.5701 GB, free: 5.086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.3638, allocations: 394.8 kB / 0.5705 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.3647, allocations: 324.5 kB / 0.5708 GB, free: 4.395 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3664, allocations: 1.148 MB / 0.5719 GB, free: 3.188 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.3665, allocations: 166.4 kB / 0.5721 GB, free: 3.004 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005735/0.367, allocations: 430.3 kB / 0.5725 GB, free: 2.578 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.3672, allocations: 96.45 kB / 0.5726 GB, free: 2.484 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3672, allocations: 0 / 0.5726 GB, free: 2.484 MB / 442.7 MB Notification: Performance of Templates: time 0.01873/0.3859, allocations: 15.45 MB / 0.5877 GB, free: 3.285 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8670379440300167]