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.001778/0.001778, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002308/0.002308, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2576/0.2576, allocations: 44.93 MB / 358.8 MB, free: 6.137 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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 71.89 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3869, allocations: 65.48 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2113/0.5982, allocations: 153.8 MB / 0.7077 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008937/0.6072, allocations: 4.935 MB / 0.7125 GB, free: 8.129 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.6082, allocations: 27.75 kB / 0.7125 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.6095, allocations: 306 kB / 0.7128 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004654/0.6141, allocations: 1.372 MB / 0.7142 GB, free: 6.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.6173, allocations: 1.059 MB / 0.7152 GB, free: 5.375 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.6204, allocations: 1.868 MB / 0.717 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.6217, allocations: 385.6 kB / 0.7174 GB, free: 3.121 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0046/0.6263, allocations: 1.125 MB / 0.7185 GB, free: 1.992 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.6286, allocations: 0.7666 MB / 0.7192 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.629, allocations: 60 kB / 0.7193 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00201/0.631, allocations: 0.5501 MB / 0.7198 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006498/0.6316, allocations: 271.2 kB / 0.7201 GB, free: 356 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.633, allocations: 334.6 kB / 0.7204 GB, free: 20 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.637, allocations: 1.3 MB / 0.7217 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.637, allocations: 3.938 kB / 0.7217 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.823e-06/0.637, allocations: 0 / 0.7217 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.513e-05/0.6371, allocations: 0 / 0.7217 GB, free: 14.71 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.003677/0.6407, allocations: 1.049 MB / 0.7227 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.6408, allocations: 8.031 kB / 0.7227 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6419, allocations: 143.4 kB / 0.7228 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.6432, allocations: 477.4 kB / 0.7233 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.6434, allocations: 163.8 kB / 0.7235 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.6435, allocations: 44 kB / 0.7235 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.6452, allocations: 1.14 MB / 0.7246 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.6453, allocations: 3.938 kB / 0.7246 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.6454, allocations: 27.98 kB / 0.7246 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.688e-05/0.6454, allocations: 40.92 kB / 0.7247 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.6466, allocations: 0.6243 MB / 0.7253 GB, free: 10.77 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.005855/0.6525, allocations: 3.208 MB / 0.7284 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.6532, allocations: 343.6 kB / 0.7287 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.6536, allocations: 157.3 kB / 0.7289 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.6537, allocations: 16.27 kB / 0.7289 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.313e-05/0.6538, allocations: 42.83 kB / 0.729 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.675e-06/0.6538, allocations: 0 / 0.729 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006512/0.6603, allocations: 1.597 MB / 0.7305 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.6604, allocations: 136.5 kB / 0.7306 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/0.6613, allocations: 0.5299 MB / 0.7312 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.284e-05/0.6614, allocations: 33.7 kB / 0.7312 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.6618, allocations: 388.2 kB / 0.7316 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.6619, allocations: 150.7 kB / 0.7317 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.6622, allocations: 162.6 kB / 0.7319 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000232/0.6624, allocations: 374.7 kB / 0.7322 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.6629, allocations: 201.8 kB / 0.7324 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.6637, allocations: 0.5917 MB / 0.733 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.665, allocations: 0.7485 MB / 0.7337 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.665, allocations: 4 kB / 0.7337 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001883/0.6669, allocations: 0.8723 MB / 0.7346 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.6669, allocations: 15.98 kB / 0.7346 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.6669, allocations: 8 kB / 0.7346 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.6684, allocations: 307.6 kB / 0.7349 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.6688, allocations: 123.8 kB / 0.735 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3377/1.007, allocations: 0.9368 MB / 0.7359 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006943/1.007, allocations: 27.25 kB / 0.736 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.007, allocations: 68.86 kB / 0.736 GB, free: 177.5 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.0004564/1.008, allocations: 242.1 kB / 0.7362 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/1.008, allocations: 62.42 kB / 0.7363 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/1.01, allocations: 0.858 MB / 0.7371 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.01, allocations: 4.156 kB / 0.7371 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.01, allocations: 1.281 kB / 0.7371 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/1.01, allocations: 10.2 kB / 0.7372 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.012, allocations: 1.083 MB / 0.7382 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.012, allocations: 0 / 0.7382 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/1.013, allocations: 210 kB / 0.7384 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-05/1.013, allocations: 27.27 kB / 0.7384 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/1.013, allocations: 24.78 kB / 0.7385 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/1.015, allocations: 2.624 MB / 0.741 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.015, allocations: 1.031 kB / 0.741 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.016, allocations: 0.8222 MB / 0.7418 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/1.016, allocations: 104.8 kB / 0.7419 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/1.016, allocations: 10.94 kB / 0.7419 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/1.017, allocations: 22.92 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/1.017, allocations: 42 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/1.017, allocations: 45.05 kB / 0.742 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003649/1.017, allocations: 355.5 kB / 0.7424 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.017, allocations: 4.125 kB / 0.7424 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009114/1.018, allocations: 255.6 kB / 0.7426 GB, free: 173.4 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.0005594/1.019, allocations: 285.1 kB / 0.7429 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009557/1.019, allocations: 0.5313 MB / 0.7434 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.019, allocations: 0 / 0.7434 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008391/1.02, allocations: 408.8 kB / 0.7438 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.022, allocations: 307 kB / 0.7441 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/1.023, allocations: 1.344 MB / 0.7454 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/1.024, allocations: 330 kB / 0.7457 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007655/1.024, allocations: 451.1 kB / 0.7462 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/1.025, allocations: 107.4 kB / 0.7463 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.025, allocations: 0 / 0.7463 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02165/1.046, allocations: 16.7 MB / 0.7626 GB, free: 153.8 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.541779898107052]