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.001346/0.001346, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001504/0.001504, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.508/1.508, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.2272/0.2272, allocations: 44.94 MB / 359.6 MB, free: 6.074 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.002548/0.002548, allocations: 67.91 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4092, allocations: 65.48 MB / 0.5582 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.2072/0.6164, allocations: 153.8 MB / 0.7084 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008752/0.6251, allocations: 4.925 MB / 0.7132 GB, free: 8.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.626, allocations: 27.75 kB / 0.7133 GB, free: 8.145 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.627, allocations: 310 kB / 0.7136 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004432/0.6315, allocations: 1.364 MB / 0.7149 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.6348, allocations: 1.067 MB / 0.7159 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002841/0.6376, allocations: 1.864 MB / 0.7177 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007395/0.6383, allocations: 389.6 kB / 0.7181 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/0.6413, allocations: 1.121 MB / 0.7192 GB, free: 2.035 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.6428, allocations: 0.7627 MB / 0.72 GB, free: 1.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.6429, allocations: 63.98 kB / 0.72 GB, free: 1.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.6445, allocations: 0.5501 MB / 0.7206 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.6449, allocations: 275.2 kB / 0.7208 GB, free: 396 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00046/0.6453, allocations: 330.6 kB / 0.7211 GB, free: 64 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.6474, allocations: 1.304 MB / 0.7224 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6474, allocations: 0 / 0.7224 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6474, allocations: 0 / 0.7224 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.6474, allocations: 0 / 0.7224 GB, free: 14.75 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.002521/0.65, allocations: 1.045 MB / 0.7234 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.65, allocations: 12.03 kB / 0.7234 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.6508, allocations: 139.4 kB / 0.7236 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.6519, allocations: 481.4 kB / 0.724 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.6521, allocations: 151.8 kB / 0.7242 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.6522, allocations: 55.97 kB / 0.7242 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.6539, allocations: 1.151 MB / 0.7254 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.6539, allocations: 0 / 0.7254 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.654, allocations: 24 kB / 0.7254 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/0.6541, allocations: 40.92 kB / 0.7254 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.6552, allocations: 0.6204 MB / 0.726 GB, free: 10.81 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.00495/0.6601, allocations: 3.215 MB / 0.7292 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.6608, allocations: 335.6 kB / 0.7295 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.6611, allocations: 165.2 kB / 0.7296 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.465e-05/0.6612, allocations: 16.27 kB / 0.7297 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.6613, allocations: 38.84 kB / 0.7297 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 4.578e-06/0.6613, allocations: 3.984 kB / 0.7297 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005883/0.6672, allocations: 1.594 MB / 0.7313 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/0.6673, allocations: 136.5 kB / 0.7314 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007399/0.668, allocations: 0.5299 MB / 0.7319 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.6681, allocations: 33.7 kB / 0.7319 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.6684, allocations: 392.2 kB / 0.7323 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.6686, allocations: 146.7 kB / 0.7324 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.6688, allocations: 166.5 kB / 0.7326 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000212/0.669, allocations: 370.8 kB / 0.733 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.6694, allocations: 205.9 kB / 0.7332 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007799/0.6702, allocations: 0.5878 MB / 0.7337 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.6713, allocations: 0.7523 MB / 0.7345 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.6713, allocations: 0 / 0.7345 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00157/0.6729, allocations: 0.8721 MB / 0.7353 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.6729, allocations: 12 kB / 0.7353 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.6729, allocations: 8 kB / 0.7353 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.6743, allocations: 315.8 kB / 0.7356 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.6747, allocations: 123.8 kB / 0.7358 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3105/0.9852, allocations: 0.9258 MB / 0.7367 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.9859, allocations: 28.41 kB / 0.7367 GB, free: 177.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.9861, allocations: 66.41 kB / 0.7368 GB, free: 177.6 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.0004584/0.9865, allocations: 243.1 kB / 0.737 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.9867, allocations: 62.28 kB / 0.737 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.9887, allocations: 0.8547 MB / 0.7379 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.9887, allocations: 7.062 kB / 0.7379 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.9887, allocations: 1.188 kB / 0.7379 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.9887, allocations: 9 kB / 0.7379 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.9908, allocations: 1.088 MB / 0.739 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.9908, allocations: 4.625 kB / 0.739 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009823/0.9918, allocations: 209.6 kB / 0.7392 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.867e-05/0.9919, allocations: 25.5 kB / 0.7392 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/0.9919, allocations: 18.3 kB / 0.7392 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.9934, allocations: 2.627 MB / 0.7418 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.9934, allocations: 8.109 kB / 0.7418 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.9945, allocations: 0.8177 MB / 0.7426 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.9947, allocations: 104.6 kB / 0.7427 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.9948, allocations: 11.94 kB / 0.7427 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.9952, allocations: 21.48 kB / 0.7427 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/0.9953, allocations: 40.23 kB / 0.7427 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.9953, allocations: 41.77 kB / 0.7428 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003759/0.9957, allocations: 361.8 kB / 0.7431 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9957, allocations: 3.812 kB / 0.7431 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009207/0.9966, allocations: 254.2 kB / 0.7434 GB, free: 173.6 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.0005651/0.9972, allocations: 281.3 kB / 0.7436 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009895/0.9982, allocations: 0.5324 MB / 0.7442 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.9982, allocations: 0 / 0.7442 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008039/0.999, allocations: 407.2 kB / 0.7446 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1, allocations: 305 kB / 0.7448 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/1.002, allocations: 1.385 MB / 0.7462 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/1.002, allocations: 334.3 kB / 0.7465 GB, free: 171 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/1.003, allocations: 123.4 kB / 0.7466 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/1.003, allocations: 0 / 0.7466 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.01642/1.019, allocations: 16.06 MB / 0.7623 GB, free: 154.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/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 [Calling sys.exit(0), Time elapsed: 11.168289997149259]