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.001219/0.001219, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001085/0.001085, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.328/1.328, allocations: 222.9 MB / 243 MB, free: 15.15 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.2105/0.2105, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.47 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1167, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3522/0.4689, allocations: 147.6 MB / 0.6038 GB, free: 12.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007155/0.4761, allocations: 5.586 MB / 0.6092 GB, free: 7.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006971/0.4769, allocations: 19.88 kB / 0.6093 GB, free: 7.008 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.4779, allocations: 329.9 kB / 0.6096 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.4801, allocations: 0.8551 MB / 0.6104 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.4828, allocations: 1.025 MB / 0.6114 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.4848, allocations: 1.794 MB / 0.6132 GB, free: 3.012 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.4854, allocations: 473.7 kB / 0.6136 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.4866, allocations: 0.7591 MB / 0.6144 GB, free: 1.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009768/0.4876, allocations: 0.6969 MB / 0.615 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.4877, allocations: 64 kB / 0.6151 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.4888, allocations: 0.542 MB / 0.6156 GB, free: 496 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.4891, allocations: 263.2 kB / 0.6159 GB, free: 232 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000415/0.4895, allocations: 398.2 kB / 0.6163 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.4908, allocations: 1.137 MB / 0.6174 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.4908, allocations: 0 / 0.6174 GB, free: 14.7 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4909, allocations: 0 / 0.6174 GB, free: 14.7 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.4909, allocations: 0 / 0.6174 GB, free: 14.7 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.001997/0.4929, allocations: 1.06 MB / 0.6184 GB, free: 13.58 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4929, allocations: 8.031 kB / 0.6184 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003663/0.4933, allocations: 92.02 kB / 0.6185 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009063/0.4942, allocations: 0.5366 MB / 0.619 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.4943, allocations: 104.9 kB / 0.6191 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.4944, allocations: 48.56 kB / 0.6192 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.4957, allocations: 0.818 MB / 0.62 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4957, allocations: 7.938 kB / 0.62 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.4958, allocations: 23.98 kB / 0.62 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/0.4958, allocations: 40.97 kB / 0.62 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.4969, allocations: 0.6517 MB / 0.6207 GB, free: 11.14 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.004618/0.5015, allocations: 3.951 MB / 0.6245 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008881/0.5024, allocations: 438 kB / 0.625 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.5028, allocations: 201.4 kB / 0.6251 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006689/0.5034, allocations: 0.7405 MB / 0.6259 GB, free: 5.367 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.5035, allocations: 38.89 kB / 0.6259 GB, free: 5.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 5.169e-06/0.5035, allocations: 0 / 0.6259 GB, free: 5.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.00374/0.5073, allocations: 1.545 MB / 0.6274 GB, free: 3.703 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.5074, allocations: 132.5 kB / 0.6275 GB, free: 3.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.5085, allocations: 0.5693 MB / 0.6281 GB, free: 2.965 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.007e-05/0.5086, allocations: 37.7 kB / 0.6281 GB, free: 2.922 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/0.509, allocations: 354.9 kB / 0.6285 GB, free: 2.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/0.5092, allocations: 165.7 kB / 0.6286 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.5095, allocations: 146.5 kB / 0.6288 GB, free: 2.258 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.5097, allocations: 370.8 kB / 0.6291 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.5103, allocations: 217.9 kB / 0.6293 GB, free: 1.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008805/0.5112, allocations: 0.5162 MB / 0.6298 GB, free: 1.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.5127, allocations: 0.7601 MB / 0.6306 GB, free: 132 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.5128, allocations: 4 kB / 0.6306 GB, free: 128 kB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002653/0.5154, allocations: 0.9024 MB / 0.6315 GB, free: 15.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.5155, allocations: 16.12 kB / 0.6315 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.5155, allocations: 12 kB / 0.6315 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/0.5177, allocations: 294.9 kB / 0.6318 GB, free: 14.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.5183, allocations: 115.8 kB / 0.6319 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.5199, allocations: 0.8956 MB / 0.6328 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/0.5207, allocations: 20 kB / 0.6328 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.905e-05/0.5208, allocations: 43.98 kB / 0.6328 GB, free: 13.8 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.0005096/0.5213, allocations: 245.4 kB / 0.633 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.5216, allocations: 63.25 kB / 0.6331 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.5236, allocations: 0.7697 MB / 0.6339 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.5236, allocations: 8 kB / 0.6339 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5236, allocations: 0.5 kB / 0.6339 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5236, allocations: 0 / 0.6339 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.5266, allocations: 1.416 MB / 0.6353 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.5266, allocations: 4 kB / 0.6353 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.5283, allocations: 204.8 kB / 0.6355 GB, free: 10.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000129/0.5285, allocations: 24.84 kB / 0.6355 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.5285, allocations: 15.98 kB / 0.6355 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.5316, allocations: 2.874 MB / 0.6383 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5316, allocations: 0 / 0.6383 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.5339, allocations: 1.005 MB / 0.6393 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.5345, allocations: 208.3 kB / 0.6395 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.5346, allocations: 16 kB / 0.6395 GB, free: 6.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.5353, allocations: 19.98 kB / 0.6395 GB, free: 6.453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.5354, allocations: 39.83 kB / 0.6395 GB, free: 6.414 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.5355, allocations: 23.98 kB / 0.6396 GB, free: 6.391 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000824/0.5364, allocations: 427 kB / 0.64 GB, free: 5.977 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5364, allocations: 0 / 0.64 GB, free: 5.977 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001555/0.5379, allocations: 223.9 kB / 0.6402 GB, free: 5.758 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.0007798/0.5387, allocations: 271.3 kB / 0.6405 GB, free: 5.492 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.5406, allocations: 0.6029 MB / 0.641 GB, free: 4.895 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5406, allocations: 4 kB / 0.641 GB, free: 4.891 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.5421, allocations: 458.8 kB / 0.6415 GB, free: 4.43 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.5446, allocations: 373.8 kB / 0.6418 GB, free: 4.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.5477, allocations: 1.363 MB / 0.6432 GB, free: 2.664 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.5484, allocations: 0.9463 MB / 0.6441 GB, free: 1.691 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009578/0.5494, allocations: 209.6 kB / 0.6443 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.5496, allocations: 59.42 kB / 0.6444 GB, free: 1.438 MB / 478.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5496, allocations: 0 / 0.6444 GB, free: 1.438 MB / 478.1 MB Notification: Performance of Templates: time 0.03648/0.5861, allocations: 15.5 MB / 0.6595 GB, free: 2.094 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 cvode -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