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.001134/0.001134, allocations: 107.1 kB / 18.39 MB, free: 4.629 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.001122/0.001122, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.317/1.317, allocations: 222.9 MB / 243 MB, free: 15.09 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.2174/0.2174, allocations: 44.19 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.84 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.09337, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3625/0.4559, allocations: 147.6 MB / 0.6038 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008387/0.4643, allocations: 5.581 MB / 0.6092 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009121/0.4652, allocations: 19.88 kB / 0.6093 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.4666, allocations: 334 kB / 0.6096 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.4692, allocations: 0.8589 MB / 0.6104 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.4725, allocations: 1.02 MB / 0.6114 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00257/0.4751, allocations: 1.798 MB / 0.6132 GB, free: 3.059 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008845/0.476, allocations: 478 kB / 0.6136 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.4774, allocations: 0.7474 MB / 0.6143 GB, free: 1.844 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4787, allocations: 0.7086 MB / 0.615 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4789, allocations: 64 kB / 0.6151 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.4802, allocations: 0.5341 MB / 0.6156 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003546/0.4806, allocations: 271.3 kB / 0.6159 GB, free: 276 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006774/0.4813, allocations: 398.2 kB / 0.6163 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.4831, allocations: 1.133 MB / 0.6174 GB, free: 14.74 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4831, allocations: 0 / 0.6174 GB, free: 14.74 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4831, allocations: 0 / 0.6174 GB, free: 14.74 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.4831, allocations: 0 / 0.6174 GB, free: 14.74 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.002297/0.4854, allocations: 1.06 MB / 0.6184 GB, free: 13.63 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.4855, allocations: 8.031 kB / 0.6184 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/0.4859, allocations: 84.09 kB / 0.6185 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009886/0.4869, allocations: 0.556 MB / 0.619 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.487, allocations: 101 kB / 0.6191 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.4871, allocations: 48.56 kB / 0.6192 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.4884, allocations: 0.8109 MB / 0.62 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.4884, allocations: 7.984 kB / 0.62 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.4885, allocations: 23.98 kB / 0.62 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.4886, allocations: 44.98 kB / 0.62 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.4896, allocations: 0.6478 MB / 0.6207 GB, free: 11.19 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.004809/0.4944, allocations: 3.951 MB / 0.6245 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.4953, allocations: 442 kB / 0.625 GB, free: 6.512 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.4956, allocations: 201.4 kB / 0.6251 GB, free: 6.312 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000574/0.4962, allocations: 0.7327 MB / 0.6259 GB, free: 5.414 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.4963, allocations: 46.88 kB / 0.6259 GB, free: 5.359 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.4963, allocations: 0 / 0.6259 GB, free: 5.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003258/0.4995, allocations: 1.545 MB / 0.6274 GB, free: 3.734 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.883e-05/0.4997, allocations: 132.5 kB / 0.6275 GB, free: 3.574 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.5003, allocations: 0.5693 MB / 0.6281 GB, free: 2.996 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.5004, allocations: 37.7 kB / 0.6281 GB, free: 2.953 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.5006, allocations: 354.9 kB / 0.6285 GB, free: 2.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5008, allocations: 157.7 kB / 0.6286 GB, free: 2.445 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.501, allocations: 142.5 kB / 0.6288 GB, free: 2.301 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.5011, allocations: 374.8 kB / 0.6291 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.5015, allocations: 221.9 kB / 0.6293 GB, free: 1.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.5021, allocations: 0.5123 MB / 0.6298 GB, free: 1.059 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00097/0.5031, allocations: 0.7562 MB / 0.6306 GB, free: 176 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5031, allocations: 0 / 0.6306 GB, free: 176 kB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001604/0.5047, allocations: 0.9134 MB / 0.6315 GB, free: 15.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.5047, allocations: 11.94 kB / 0.6315 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5047, allocations: 12.88 kB / 0.6315 GB, free: 15.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.5061, allocations: 284.5 kB / 0.6318 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.5065, allocations: 125.1 kB / 0.6319 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009975/0.5075, allocations: 0.8813 MB / 0.6327 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.508, allocations: 35.92 kB / 0.6328 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/0.5081, allocations: 36.06 kB / 0.6328 GB, free: 13.85 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.0003324/0.5085, allocations: 257.4 kB / 0.633 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5086, allocations: 63.25 kB / 0.6331 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.5099, allocations: 0.7617 MB / 0.6339 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.5099, allocations: 8 kB / 0.6339 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.5099, allocations: 4 kB / 0.6339 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5099, allocations: 4.031 kB / 0.6339 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.5119, allocations: 1.416 MB / 0.6352 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.5119, allocations: 0 / 0.6352 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.513, allocations: 208.6 kB / 0.6354 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.438e-05/0.5131, allocations: 28.97 kB / 0.6355 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.5131, allocations: 16 kB / 0.6355 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.5151, allocations: 2.87 MB / 0.6383 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5151, allocations: 4.031 kB / 0.6383 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.5166, allocations: 1.009 MB / 0.6393 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.5169, allocations: 204.2 kB / 0.6395 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.517, allocations: 8 kB / 0.6395 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.5175, allocations: 24.06 kB / 0.6395 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.5176, allocations: 35.89 kB / 0.6395 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-05/0.5176, allocations: 23.97 kB / 0.6396 GB, free: 6.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005226/0.5182, allocations: 431 kB / 0.64 GB, free: 6.012 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5182, allocations: 0 / 0.64 GB, free: 6.012 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008797/0.5191, allocations: 223.9 kB / 0.6402 GB, free: 5.793 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.0006272/0.5197, allocations: 267.8 kB / 0.6404 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.521, allocations: 0.6021 MB / 0.641 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.521, allocations: 0 / 0.641 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5221, allocations: 467.7 kB / 0.6415 GB, free: 4.465 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.5237, allocations: 374.2 kB / 0.6418 GB, free: 4.109 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.5262, allocations: 1.375 MB / 0.6432 GB, free: 2.688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.5267, allocations: 0.9385 MB / 0.6441 GB, free: 1.723 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000638/0.5274, allocations: 205.5 kB / 0.6443 GB, free: 1.531 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.5275, allocations: 63.42 kB / 0.6444 GB, free: 1.469 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5276, allocations: 0 / 0.6444 GB, free: 1.469 MB / 478.1 MB Notification: Performance of Templates: time 0.02609/0.5536, allocations: 15.51 MB / 0.6595 GB, free: 2.125 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 -s gbode -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