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.00117/0.00117, allocations: 107.6 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.001422/0.001422, allocations: 205.1 kB / 24.47 MB, free: 3.699 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.2577/0.2577, allocations: 46.96 MB / 361.6 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 179] 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.002033/0.002033, allocations: 63.84 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3851, allocations: 66.03 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.174/0.5591, allocations: 130.3 MB / 0.689 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008602/0.5677, allocations: 5.164 MB / 0.6941 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006604/0.5684, allocations: 23.75 kB / 0.6941 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.5694, allocations: 318 kB / 0.6944 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.5715, allocations: 0.8902 MB / 0.6953 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.5743, allocations: 1.058 MB / 0.6963 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.5766, allocations: 1.829 MB / 0.6981 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006405/0.5772, allocations: 397.6 kB / 0.6985 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.5786, allocations: 0.7864 MB / 0.6992 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.5799, allocations: 0.763 MB / 0.7 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.58, allocations: 64 kB / 0.7001 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.5811, allocations: 487.1 kB / 0.7005 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.5814, allocations: 267.2 kB / 0.7008 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003973/0.5818, allocations: 334.6 kB / 0.7011 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.5833, allocations: 1.17 MB / 0.7022 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5833, allocations: 4 kB / 0.7022 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5833, allocations: 0 / 0.7022 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.5833, allocations: 0 / 0.7022 GB, free: 3.887 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.002112/0.5854, allocations: 0.9873 MB / 0.7032 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5855, allocations: 12.03 kB / 0.7032 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.5858, allocations: 104.4 kB / 0.7033 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.5868, allocations: 482.7 kB / 0.7038 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.5869, allocations: 152.4 kB / 0.7039 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.587, allocations: 52.36 kB / 0.704 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.5885, allocations: 1.141 MB / 0.7051 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.5886, allocations: 11.94 kB / 0.7051 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.5886, allocations: 27.92 kB / 0.7051 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.5887, allocations: 40.98 kB / 0.7052 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5898, allocations: 0.6478 MB / 0.7058 GB, free: 16 kB / 0.5294 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.00446/0.5942, allocations: 3.066 MB / 0.7088 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008418/0.5951, allocations: 408.2 kB / 0.7092 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.5954, allocations: 193.4 kB / 0.7094 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003015/0.5957, allocations: 72.28 kB / 0.7094 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.5957, allocations: 38.89 kB / 0.7095 GB, free: 12.13 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.853e-06/0.5957, allocations: 0 / 0.7095 GB, free: 12.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.00328/0.599, allocations: 1.39 MB / 0.7108 GB, free: 10.71 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.5991, allocations: 132.5 kB / 0.711 GB, free: 10.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.5997, allocations: 0.522 MB / 0.7115 GB, free: 10.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.5998, allocations: 33.7 kB / 0.7115 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.6001, allocations: 368.4 kB / 0.7118 GB, free: 9.609 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.6002, allocations: 174.5 kB / 0.712 GB, free: 9.438 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.6004, allocations: 138.6 kB / 0.7121 GB, free: 9.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.6006, allocations: 370.8 kB / 0.7125 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.601, allocations: 221.8 kB / 0.7127 GB, free: 8.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.6016, allocations: 0.5876 MB / 0.7133 GB, free: 7.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.6027, allocations: 0.7601 MB / 0.714 GB, free: 7.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6027, allocations: 4 kB / 0.714 GB, free: 7.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001662/0.6044, allocations: 0.9024 MB / 0.7149 GB, free: 6.156 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6044, allocations: 8 kB / 0.7149 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.6044, allocations: 11.94 kB / 0.7149 GB, free: 6.137 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.6059, allocations: 277.1 kB / 0.7152 GB, free: 5.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.6063, allocations: 127.8 kB / 0.7153 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.6074, allocations: 0.8857 MB / 0.7162 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.6078, allocations: 28 kB / 0.7162 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.6079, allocations: 35.98 kB / 0.7162 GB, free: 4.766 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.0003701/0.6083, allocations: 249.5 kB / 0.7165 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.6084, allocations: 59.62 kB / 0.7165 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.6097, allocations: 0.6917 MB / 0.7172 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.6097, allocations: 8 kB / 0.7172 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6097, allocations: 0 / 0.7172 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6097, allocations: 0 / 0.7172 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.6117, allocations: 1.18 MB / 0.7184 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.6117, allocations: 4 kB / 0.7184 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.6128, allocations: 199.8 kB / 0.7186 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.973e-05/0.6129, allocations: 28.97 kB / 0.7186 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.6129, allocations: 15.98 kB / 0.7186 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.6151, allocations: 2.624 MB / 0.7212 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6151, allocations: 0 / 0.7212 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.6165, allocations: 0.9382 MB / 0.7221 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.6168, allocations: 115.5 kB / 0.7222 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.6169, allocations: 12 kB / 0.7222 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.6173, allocations: 19.92 kB / 0.7222 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/0.6174, allocations: 39.94 kB / 0.7223 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.6175, allocations: 23.98 kB / 0.7223 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004521/0.6179, allocations: 354.9 kB / 0.7226 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6179, allocations: 4 kB / 0.7226 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008931/0.6188, allocations: 223.8 kB / 0.7228 GB, free: 13.68 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.0005021/0.6193, allocations: 243.2 kB / 0.7231 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.6206, allocations: 0.5827 MB / 0.7236 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6206, allocations: 4 kB / 0.7236 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.6216, allocations: 439.2 kB / 0.7241 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.623, allocations: 326.2 kB / 0.7244 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.6254, allocations: 1.425 MB / 0.7258 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.6257, allocations: 333.1 kB / 0.7261 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.6259, allocations: 67.42 kB / 0.7262 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.6259, allocations: 0 / 0.7262 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.306/0.9319, allocations: 15.49 MB / 0.7413 GB, free: 172 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 -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: 11.060489616997074]