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.001297/0.001297, 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.001357/0.001357, allocations: 210.9 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2261/0.2261, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.002029/0.002029, allocations: 63.91 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3436, 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.1768/0.5204, allocations: 130.3 MB / 0.689 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008251/0.5287, allocations: 5.156 MB / 0.6941 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006599/0.5294, allocations: 31.69 kB / 0.6941 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.5304, allocations: 322 kB / 0.6944 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.5325, allocations: 0.8902 MB / 0.6953 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.5353, allocations: 1.058 MB / 0.6963 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002512/0.5378, allocations: 1.817 MB / 0.6981 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008553/0.5387, allocations: 397.6 kB / 0.6985 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.5405, allocations: 0.7941 MB / 0.6992 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.5421, allocations: 0.7514 MB / 0.7 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.5423, allocations: 64 kB / 0.7 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.5435, allocations: 491.1 kB / 0.7005 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.5439, allocations: 275.1 kB / 0.7008 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.5444, allocations: 334.6 kB / 0.7011 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.5461, allocations: 1.167 MB / 0.7022 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5461, allocations: 0 / 0.7022 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5461, allocations: 0 / 0.7022 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.5461, allocations: 0 / 0.7022 GB, free: 3.891 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.002231/0.5483, allocations: 0.9951 MB / 0.7032 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5484, allocations: 8.031 kB / 0.7032 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.5487, allocations: 96.42 kB / 0.7033 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009488/0.5497, allocations: 490.7 kB / 0.7038 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.5499, allocations: 152.4 kB / 0.7039 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.985e-05/0.55, allocations: 48.38 kB / 0.704 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.5516, allocations: 1.145 MB / 0.7051 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.5516, allocations: 3.938 kB / 0.7051 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.5517, allocations: 24 kB / 0.7051 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.893e-05/0.5518, allocations: 40.92 kB / 0.7051 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.5529, allocations: 0.6518 MB / 0.7058 GB, free: 24 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.00464/0.5576, allocations: 3.07 MB / 0.7088 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008632/0.5584, allocations: 408.2 kB / 0.7092 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.5588, allocations: 185.4 kB / 0.7093 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/0.5591, allocations: 68.28 kB / 0.7094 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.5591, allocations: 46.89 kB / 0.7095 GB, free: 12.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.5591, allocations: 0 / 0.7095 GB, free: 12.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003382/0.5625, allocations: 1.387 MB / 0.7108 GB, free: 10.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.5626, allocations: 140.5 kB / 0.7109 GB, free: 10.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006733/0.5633, allocations: 0.522 MB / 0.7115 GB, free: 10.02 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.5634, allocations: 29.7 kB / 0.7115 GB, free: 9.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.5637, allocations: 368.4 kB / 0.7118 GB, free: 9.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.5638, allocations: 174.5 kB / 0.712 GB, free: 9.445 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.564, allocations: 138.6 kB / 0.7121 GB, free: 9.305 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5642, allocations: 370.8 kB / 0.7125 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.5646, allocations: 217.9 kB / 0.7127 GB, free: 8.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.5653, allocations: 0.5915 MB / 0.7133 GB, free: 7.969 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5663, allocations: 0.7601 MB / 0.714 GB, free: 7.082 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5663, allocations: 0 / 0.714 GB, free: 7.082 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001698/0.568, allocations: 0.9028 MB / 0.7149 GB, free: 6.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.5681, allocations: 10.66 kB / 0.7149 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.5681, allocations: 19.88 kB / 0.7149 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/0.5696, allocations: 288.7 kB / 0.7152 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.57, allocations: 119.8 kB / 0.7153 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.5711, allocations: 0.8918 MB / 0.7162 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.5716, allocations: 31.98 kB / 0.7162 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.43e-05/0.5717, allocations: 32 kB / 0.7162 GB, free: 4.758 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.000383/0.572, allocations: 249.5 kB / 0.7165 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.5722, allocations: 59.62 kB / 0.7165 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.5735, allocations: 0.6992 MB / 0.7172 GB, free: 3.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5736, allocations: 4 kB / 0.7172 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5736, allocations: 0 / 0.7172 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.5736, allocations: 3.984 kB / 0.7172 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.5756, allocations: 1.172 MB / 0.7184 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5756, allocations: 4 kB / 0.7184 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.5767, allocations: 199.8 kB / 0.7186 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/0.5768, allocations: 20.84 kB / 0.7186 GB, free: 2.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.5769, allocations: 19.92 kB / 0.7186 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002437/0.5793, allocations: 2.624 MB / 0.7212 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5793, allocations: 4.031 kB / 0.7212 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.5808, allocations: 0.9346 MB / 0.7221 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003006/0.5812, allocations: 123.5 kB / 0.7222 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.5812, allocations: 8 kB / 0.7222 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003877/0.5816, allocations: 19.98 kB / 0.7222 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.5817, allocations: 35.88 kB / 0.7223 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.5818, allocations: 31.97 kB / 0.7223 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004348/0.5822, allocations: 354.8 kB / 0.7226 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.5822, allocations: 0 / 0.7226 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009232/0.5831, allocations: 219.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.0005493/0.5837, allocations: 247.2 kB / 0.7231 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.585, allocations: 0.5834 MB / 0.7237 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.585, allocations: 0 / 0.7237 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.5861, allocations: 446.2 kB / 0.7241 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.5876, allocations: 319.2 kB / 0.7244 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.59, allocations: 1.383 MB / 0.7257 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.5904, allocations: 337.1 kB / 0.7261 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006581/0.5911, allocations: 200.8 kB / 0.7262 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.5913, allocations: 63.36 kB / 0.7263 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.262e-06/0.5913, allocations: 0 / 0.7263 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.2714/0.8627, allocations: 15.49 MB / 0.7414 GB, free: 170.9 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 cvode -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.86601326901291]