Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001327, allocations: 101.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 242.5 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2126/0.2126, allocations: 44.17 MB / 336.8 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.31 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1107, allocations: 60.84 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.375/0.4857, allocations: 146 MB / 0.6007 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007924/0.4936, allocations: 5.729 MB / 0.6063 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.4944, allocations: 23.81 kB / 0.6064 GB, free: 9.535 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000972/0.4955, allocations: 290.4 kB / 0.6066 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.4972, allocations: 0.8166 MB / 0.6074 GB, free: 8.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002367/0.4996, allocations: 0.9324 MB / 0.6083 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002546/0.5022, allocations: 2.667 MB / 0.6109 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006218/0.5028, allocations: 409.4 kB / 0.6113 GB, free: 4.434 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.504, allocations: 0.6615 MB / 0.612 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009615/0.505, allocations: 0.7241 MB / 0.6127 GB, free: 3.043 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.5051, allocations: 40 kB / 0.6127 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.5063, allocations: 0.534 MB / 0.6132 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.5065, allocations: 243.3 kB / 0.6135 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.507, allocations: 370.2 kB / 0.6138 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.5078, allocations: 0.844 MB / 0.6147 GB, free: 1.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.5079, allocations: 0 / 0.6147 GB, free: 1.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5079, allocations: 4 kB / 0.6147 GB, free: 1.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.5079, allocations: 0 / 0.6147 GB, free: 1.02 MB / 446.1 MB 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.002134/0.51, allocations: 1.06 MB / 0.6157 GB, free: 15.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5101, allocations: 11.97 kB / 0.6157 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003603/0.5104, allocations: 88.08 kB / 0.6158 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.5112, allocations: 0.513 MB / 0.6163 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.5113, allocations: 101 kB / 0.6164 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.5114, allocations: 52.55 kB / 0.6164 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.5126, allocations: 0.8171 MB / 0.6172 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.5127, allocations: 11.84 kB / 0.6172 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.5128, allocations: 24 kB / 0.6173 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.019e-05/0.5128, allocations: 44.95 kB / 0.6173 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.5138, allocations: 0.6478 MB / 0.6179 GB, free: 13.48 MB / 462.1 MB 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.004337/0.5182, allocations: 3.947 MB / 0.6218 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007804/0.519, allocations: 428.2 kB / 0.6222 GB, free: 8.824 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.5193, allocations: 209.4 kB / 0.6224 GB, free: 8.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.5199, allocations: 0.7327 MB / 0.6231 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.52, allocations: 41.39 kB / 0.6232 GB, free: 7.672 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.52, allocations: 3.938 kB / 0.6232 GB, free: 7.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003221/0.5232, allocations: 1.545 MB / 0.6247 GB, free: 6.051 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.5233, allocations: 140.5 kB / 0.6248 GB, free: 5.883 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.524, allocations: 0.5693 MB / 0.6254 GB, free: 5.305 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.524, allocations: 33.7 kB / 0.6254 GB, free: 5.266 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.5242, allocations: 358.9 kB / 0.6257 GB, free: 4.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.5244, allocations: 161.7 kB / 0.6259 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.5246, allocations: 142.5 kB / 0.626 GB, free: 4.605 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5247, allocations: 374.7 kB / 0.6264 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.5251, allocations: 213.9 kB / 0.6266 GB, free: 4.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.5256, allocations: 0.5201 MB / 0.6271 GB, free: 3.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000917/0.5266, allocations: 0.7601 MB / 0.6278 GB, free: 2.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5266, allocations: 0 / 0.6278 GB, free: 2.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001559/0.5281, allocations: 0.9058 MB / 0.6287 GB, free: 1.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5282, allocations: 15.92 kB / 0.6287 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.5282, allocations: 12 kB / 0.6288 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.5296, allocations: 287.7 kB / 0.629 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.53, allocations: 127.7 kB / 0.6291 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.531, allocations: 0.8801 MB / 0.63 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.5315, allocations: 44.05 kB / 0.63 GB, free: 176 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.5316, allocations: 44.03 kB / 0.6301 GB, free: 132 kB / 462.1 MB 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.0003401/0.532, allocations: 250 kB / 0.6303 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5321, allocations: 71.16 kB / 0.6304 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.5333, allocations: 0.7687 MB / 0.6311 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5334, allocations: 4 kB / 0.6312 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5334, allocations: 4 kB / 0.6312 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5334, allocations: 3.984 kB / 0.6312 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.5353, allocations: 1.411 MB / 0.6325 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.5353, allocations: 2.438 kB / 0.6325 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.5364, allocations: 203.8 kB / 0.6327 GB, free: 13.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.329e-05/0.5365, allocations: 28.78 kB / 0.6328 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.5365, allocations: 8.188 kB / 0.6328 GB, free: 13.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.5385, allocations: 2.68 MB / 0.6354 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5385, allocations: 0 / 0.6354 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.5399, allocations: 1.011 MB / 0.6364 GB, free: 9.234 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.5402, allocations: 208.1 kB / 0.6366 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.5403, allocations: 16 kB / 0.6366 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/0.5408, allocations: 29.42 kB / 0.6366 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.916e-05/0.5409, allocations: 39.95 kB / 0.6367 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.428e-05/0.541, allocations: 23.98 kB / 0.6367 GB, free: 8.906 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005093/0.5415, allocations: 431 kB / 0.6371 GB, free: 8.488 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5415, allocations: 0 / 0.6371 GB, free: 8.488 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008176/0.5423, allocations: 216 kB / 0.6373 GB, free: 8.277 MB / 478.1 MB 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.0006225/0.543, allocations: 282.8 kB / 0.6376 GB, free: 8.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.5442, allocations: 0.6031 MB / 0.6382 GB, free: 7.406 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.5443, allocations: 4 kB / 0.6382 GB, free: 7.402 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.5453, allocations: 439.3 kB / 0.6386 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.5471, allocations: 355.5 kB / 0.6389 GB, free: 6.621 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.5495, allocations: 1.646 MB / 0.6405 GB, free: 4.926 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.55, allocations: 0.9349 MB / 0.6414 GB, free: 3.965 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5502, allocations: 75.36 kB / 0.6415 GB, free: 3.891 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5502, allocations: 0 / 0.6415 GB, free: 3.891 MB / 478.1 MB Notification: Performance of Templates: time 0.02174/0.572, allocations: 15.88 MB / 0.657 GB, free: 4.078 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches