Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.001604/0.001604, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001855/0.001855, allocations: 214.8 kB / 24.48 MB, free: 3.941 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.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 46.97 MB / 361.6 MB, free: 4.117 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2878, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1613/0.4491, allocations: 130.3 MB / 0.689 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007648/0.4567, allocations: 5.167 MB / 0.6941 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005094/0.4572, allocations: 31.69 kB / 0.6941 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.4583, allocations: 318 kB / 0.6944 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.4606, allocations: 0.8902 MB / 0.6953 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.4633, allocations: 1.051 MB / 0.6963 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001983/0.4653, allocations: 1.821 MB / 0.6981 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005648/0.4659, allocations: 393.6 kB / 0.6985 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.4671, allocations: 0.7942 MB / 0.6992 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.4682, allocations: 0.7514 MB / 0.7 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4683, allocations: 64 kB / 0.7 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009937/0.4693, allocations: 499.1 kB / 0.7005 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.4696, allocations: 271.1 kB / 0.7008 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003765/0.4699, allocations: 338.6 kB / 0.7011 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.4714, allocations: 1.163 MB / 0.7022 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4714, allocations: 0 / 0.7022 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4714, allocations: 0 / 0.7022 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.4714, allocations: 0 / 0.7022 GB, free: 3.867 MB / 0.5294 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.002116/0.4735, allocations: 0.9951 MB / 0.7032 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4735, allocations: 8.031 kB / 0.7032 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003671/0.4739, allocations: 104.3 kB / 0.7033 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009383/0.4748, allocations: 478.7 kB / 0.7038 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.475, allocations: 160.3 kB / 0.7039 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.4751, allocations: 48.38 kB / 0.704 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.4765, allocations: 1.137 MB / 0.7051 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.4766, allocations: 7.984 kB / 0.7051 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-05/0.4766, allocations: 31.92 kB / 0.7051 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/0.4767, allocations: 40.92 kB / 0.7051 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.4778, allocations: 0.6479 MB / 0.7058 GB, free: 15.99 MB / 0.545 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.004465/0.4823, allocations: 3.07 MB / 0.7088 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/0.4831, allocations: 404.2 kB / 0.7092 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.4834, allocations: 193.4 kB / 0.7093 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.4837, allocations: 64.28 kB / 0.7094 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.4838, allocations: 42.89 kB / 0.7095 GB, free: 12.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.734e-06/0.4838, allocations: 7.938 kB / 0.7095 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003303/0.4871, allocations: 1.39 MB / 0.7108 GB, free: 10.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.4872, allocations: 132.5 kB / 0.7109 GB, free: 10.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/0.4878, allocations: 0.522 MB / 0.7115 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.4878, allocations: 37.7 kB / 0.7115 GB, free: 9.945 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.4881, allocations: 372.4 kB / 0.7118 GB, free: 9.578 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.4883, allocations: 170.5 kB / 0.712 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.4885, allocations: 142.6 kB / 0.7121 GB, free: 9.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4887, allocations: 370.8 kB / 0.7125 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.4891, allocations: 213.9 kB / 0.7127 GB, free: 8.684 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/0.4897, allocations: 0.5876 MB / 0.7133 GB, free: 7.938 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.4908, allocations: 0.7601 MB / 0.714 GB, free: 7.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4908, allocations: 8 kB / 0.714 GB, free: 7.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001695/0.4925, allocations: 0.8951 MB / 0.7149 GB, free: 6.137 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4925, allocations: 10.5 kB / 0.7149 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4925, allocations: 15.94 kB / 0.7149 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.494, allocations: 288.6 kB / 0.7152 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.4945, allocations: 115.8 kB / 0.7153 GB, free: 5.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.4956, allocations: 0.8879 MB / 0.7162 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.496, allocations: 28.06 kB / 0.7162 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.4961, allocations: 39.98 kB / 0.7162 GB, free: 4.734 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003297/0.4964, allocations: 244.2 kB / 0.7165 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.4966, allocations: 63.56 kB / 0.7165 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.4979, allocations: 0.695 MB / 0.7172 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.4979, allocations: 8 kB / 0.7172 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.4979, allocations: 3.984 kB / 0.7172 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4979, allocations: 3.938 kB / 0.7172 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.4999, allocations: 1.168 MB / 0.7184 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4999, allocations: 4.031 kB / 0.7184 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.5011, allocations: 199.8 kB / 0.7186 GB, free: 2.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-05/0.5012, allocations: 24.84 kB / 0.7186 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.5012, allocations: 19.94 kB / 0.7186 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.5034, allocations: 2.624 MB / 0.7212 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5034, allocations: 0 / 0.7212 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.5049, allocations: 0.9425 MB / 0.7221 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.5052, allocations: 119.5 kB / 0.7222 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.5053, allocations: 12 kB / 0.7222 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.5057, allocations: 19.98 kB / 0.7222 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.5058, allocations: 35.88 kB / 0.7223 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.5058, allocations: 23.98 kB / 0.7223 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004623/0.5063, allocations: 354.8 kB / 0.7226 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5063, allocations: 0 / 0.7226 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008471/0.5071, allocations: 223.8 kB / 0.7228 GB, free: 13.66 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004797/0.5076, allocations: 255 kB / 0.7231 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.5089, allocations: 0.5795 MB / 0.7237 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5089, allocations: 3.938 kB / 0.7237 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.5101, allocations: 442.2 kB / 0.7241 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.5115, allocations: 323.3 kB / 0.7244 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.5138, allocations: 1.375 MB / 0.7257 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.5142, allocations: 345.1 kB / 0.7261 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006031/0.5148, allocations: 196.3 kB / 0.7262 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.5149, allocations: 67.41 kB / 0.7263 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5149, allocations: 0 / 0.7263 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.2477/0.7626, allocations: 15.49 MB / 0.7414 GB, free: 171 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 5.880631674997858]