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.00107/0.00107, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001039/0.001039, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.334/1.334, allocations: 222.9 MB / 242.9 MB, free: 15.22 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.203/0.203, allocations: 44.18 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 68.95 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3927/0.5082, allocations: 147.6 MB / 0.603 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00769/0.5159, allocations: 5.597 MB / 0.6085 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000717/0.5167, allocations: 19.88 kB / 0.6085 GB, free: 7.492 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.5178, allocations: 326 kB / 0.6088 GB, free: 7.172 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.5202, allocations: 0.855 MB / 0.6096 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.523, allocations: 1.017 MB / 0.6106 GB, free: 5.309 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.5257, allocations: 1.813 MB / 0.6124 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009256/0.5267, allocations: 462.7 kB / 0.6129 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.5283, allocations: 0.7552 MB / 0.6136 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.5297, allocations: 0.7047 MB / 0.6143 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.5299, allocations: 60 kB / 0.6143 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5312, allocations: 0.542 MB / 0.6149 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.5315, allocations: 259.3 kB / 0.6151 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.532, allocations: 402.2 kB / 0.6155 GB, free: 332 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.5334, allocations: 1.126 MB / 0.6166 GB, free: 15.19 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5335, allocations: 0 / 0.6166 GB, free: 15.19 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.5335, allocations: 4 kB / 0.6166 GB, free: 15.19 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.5335, allocations: 0 / 0.6166 GB, free: 15.19 MB / 462.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.002078/0.5356, allocations: 1.052 MB / 0.6176 GB, free: 14.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5356, allocations: 12.03 kB / 0.6176 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.5362, allocations: 96.02 kB / 0.6177 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.5374, allocations: 0.5131 MB / 0.6182 GB, free: 13.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.5376, allocations: 100.9 kB / 0.6183 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.5377, allocations: 56.53 kB / 0.6184 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.5394, allocations: 0.811 MB / 0.6192 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.939e-05/0.5394, allocations: 0 / 0.6192 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.5396, allocations: 31.98 kB / 0.6192 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.5397, allocations: 40.92 kB / 0.6192 GB, free: 12.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5415, allocations: 0.6479 MB / 0.6199 GB, free: 11.66 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.00642/0.5479, allocations: 3.967 MB / 0.6237 GB, free: 7.414 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.5491, allocations: 438 kB / 0.6242 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.5496, allocations: 201.4 kB / 0.6244 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007992/0.5504, allocations: 0.7366 MB / 0.6251 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.5504, allocations: 39.22 kB / 0.6251 GB, free: 5.828 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.5505, allocations: 4 kB / 0.6251 GB, free: 5.824 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.004617/0.5551, allocations: 1.55 MB / 0.6266 GB, free: 4.203 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/0.5552, allocations: 136.5 kB / 0.6268 GB, free: 4.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009755/0.5562, allocations: 0.5693 MB / 0.6273 GB, free: 3.461 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.999e-05/0.5563, allocations: 33.7 kB / 0.6273 GB, free: 3.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.5566, allocations: 354.9 kB / 0.6277 GB, free: 3.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.5568, allocations: 165.7 kB / 0.6278 GB, free: 2.906 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002987/0.5571, allocations: 138.5 kB / 0.628 GB, free: 2.766 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.5573, allocations: 374.8 kB / 0.6283 GB, free: 2.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005508/0.5579, allocations: 213.9 kB / 0.6285 GB, free: 2.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009123/0.5588, allocations: 0.5162 MB / 0.629 GB, free: 1.527 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.5604, allocations: 0.7601 MB / 0.6298 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.5604, allocations: 4 kB / 0.6298 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002656/0.5631, allocations: 0.9026 MB / 0.6307 GB, free: 15.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.5631, allocations: 19.92 kB / 0.6307 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.5632, allocations: 8 kB / 0.6307 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.5653, allocations: 286.9 kB / 0.631 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.566, allocations: 123.8 kB / 0.6311 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.5676, allocations: 0.8917 MB / 0.632 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.5684, allocations: 24.75 kB / 0.632 GB, free: 14.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.5685, allocations: 39.98 kB / 0.632 GB, free: 14.31 MB / 478.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.0004782/0.569, allocations: 245.5 kB / 0.6323 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5692, allocations: 63.25 kB / 0.6323 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.5712, allocations: 0.7776 MB / 0.6331 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.5712, allocations: 11.94 kB / 0.6331 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.5712, allocations: 0 / 0.6331 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5713, allocations: 11.86 kB / 0.6331 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.5744, allocations: 1.408 MB / 0.6345 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5744, allocations: 4 kB / 0.6345 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.5761, allocations: 203.8 kB / 0.6347 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.5762, allocations: 29.03 kB / 0.6347 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.5763, allocations: 9.125 kB / 0.6347 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.5792, allocations: 2.881 MB / 0.6375 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5792, allocations: 0 / 0.6375 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.5814, allocations: 1.007 MB / 0.6385 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/0.5819, allocations: 204.3 kB / 0.6387 GB, free: 6.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.582, allocations: 16 kB / 0.6387 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006288/0.5826, allocations: 19.98 kB / 0.6387 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.5828, allocations: 35.89 kB / 0.6388 GB, free: 6.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.5829, allocations: 23.98 kB / 0.6388 GB, free: 6.887 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000817/0.5837, allocations: 431 kB / 0.6392 GB, free: 6.469 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5837, allocations: 0 / 0.6392 GB, free: 6.469 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001406/0.5851, allocations: 223.9 kB / 0.6394 GB, free: 6.25 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.0007293/0.5859, allocations: 265.1 kB / 0.6397 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.5881, allocations: 0.6694 MB / 0.6403 GB, free: 5.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5881, allocations: 0 / 0.6403 GB, free: 5.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001604/0.5897, allocations: 446.8 kB / 0.6407 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.5925, allocations: 377.9 kB / 0.6411 GB, free: 4.523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.5961, allocations: 1.435 MB / 0.6425 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.5969, allocations: 0.9307 MB / 0.6434 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/0.5973, allocations: 75.41 kB / 0.6435 GB, free: 2.004 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5973, allocations: 0 / 0.6435 GB, free: 2.004 MB / 478.1 MB Notification: Performance of Templates: time 0.03274/0.63, allocations: 15.89 MB / 0.659 GB, free: 2.191 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