Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 106.3 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3291/0.3291, allocations: 43.49 MB / 360.7 MB, free: 51.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 51.92 kB / 429.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1165, allocations: 57.77 MB / 487 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3545/0.471, allocations: 146 MB / 0.6182 GB, free: 13.18 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00783/0.4789, allocations: 5.733 MB / 0.6238 GB, free: 8.559 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008499/0.4798, allocations: 31.97 kB / 0.6238 GB, free: 8.539 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009711/0.4808, allocations: 279.9 kB / 0.6241 GB, free: 8.309 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.4826, allocations: 0.8136 MB / 0.6249 GB, free: 7.668 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.485, allocations: 0.9258 MB / 0.6258 GB, free: 7.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.4874, allocations: 2.681 MB / 0.6284 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005429/0.4879, allocations: 406.5 kB / 0.6288 GB, free: 5.059 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009412/0.4889, allocations: 0.6693 MB / 0.6294 GB, free: 4.387 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008922/0.4898, allocations: 0.728 MB / 0.6301 GB, free: 3.656 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.844e-05/0.4899, allocations: 32 kB / 0.6302 GB, free: 3.625 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.491, allocations: 0.5379 MB / 0.6307 GB, free: 3.086 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.4913, allocations: 239.3 kB / 0.6309 GB, free: 2.852 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.4917, allocations: 370.2 kB / 0.6313 GB, free: 2.488 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.4928, allocations: 1.102 MB / 0.6323 GB, free: 1.383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4928, allocations: 7.938 kB / 0.6323 GB, free: 1.375 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.4928, allocations: 0 / 0.6323 GB, free: 1.375 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4929, allocations: 0 / 0.6323 GB, free: 1.375 MB / 442.7 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.002009/0.4949, allocations: 1.056 MB / 0.6334 GB, free: 276 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4949, allocations: 12.03 kB / 0.6334 GB, free: 264 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.4953, allocations: 88.09 kB / 0.6335 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007843/0.496, allocations: 0.5093 MB / 0.634 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.4962, allocations: 104.9 kB / 0.6341 GB, free: 15.51 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.908e-05/0.4962, allocations: 48.55 kB / 0.6341 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.4974, allocations: 0.8227 MB / 0.6349 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.4975, allocations: 3.938 kB / 0.6349 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.4975, allocations: 31.98 kB / 0.635 GB, free: 14.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/0.4976, allocations: 40.92 kB / 0.635 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.4986, allocations: 0.6556 MB / 0.6356 GB, free: 13.84 MB / 458.7 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.004237/0.5029, allocations: 3.963 MB / 0.6395 GB, free: 9.598 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.5036, allocations: 419.5 kB / 0.6399 GB, free: 9.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.5039, allocations: 209.4 kB / 0.6401 GB, free: 8.973 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005422/0.5045, allocations: 0.7327 MB / 0.6408 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.5045, allocations: 38.89 kB / 0.6409 GB, free: 8.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.5046, allocations: 0 / 0.6409 GB, free: 8.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.002938/0.5075, allocations: 1.542 MB / 0.6424 GB, free: 6.414 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.5076, allocations: 136.5 kB / 0.6425 GB, free: 6.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.5082, allocations: 0.5693 MB / 0.643 GB, free: 5.672 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.5082, allocations: 29.7 kB / 0.6431 GB, free: 5.637 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5085, allocations: 363 kB / 0.6434 GB, free: 5.277 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5086, allocations: 161.7 kB / 0.6436 GB, free: 5.117 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.5088, allocations: 142.5 kB / 0.6437 GB, free: 4.973 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5089, allocations: 374.8 kB / 0.6441 GB, free: 4.598 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.5093, allocations: 213.9 kB / 0.6443 GB, free: 4.387 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.5098, allocations: 0.5162 MB / 0.6448 GB, free: 3.734 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009267/0.5108, allocations: 0.7679 MB / 0.6455 GB, free: 2.836 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5108, allocations: 0 / 0.6455 GB, free: 2.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001475/0.5123, allocations: 0.9073 MB / 0.6464 GB, free: 1.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5123, allocations: 11.94 kB / 0.6464 GB, free: 1.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5123, allocations: 8 kB / 0.6464 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.5136, allocations: 292.8 kB / 0.6467 GB, free: 1.613 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.514, allocations: 123.8 kB / 0.6468 GB, free: 1.492 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009403/0.5149, allocations: 0.8801 MB / 0.6477 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.5154, allocations: 40.05 kB / 0.6477 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.5154, allocations: 49.08 kB / 0.6478 GB, free: 0.5 MB / 458.7 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.0002868/0.5157, allocations: 251.6 kB / 0.648 GB, free: 252 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.5158, allocations: 67.16 kB / 0.6481 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.517, allocations: 0.7721 MB / 0.6488 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.517, allocations: 8 kB / 0.6488 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.517, allocations: 0 / 0.6488 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5171, allocations: 7.922 kB / 0.6488 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.519, allocations: 1.417 MB / 0.6502 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.519, allocations: 4 kB / 0.6502 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009753/0.52, allocations: 204 kB / 0.6504 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.277e-05/0.52, allocations: 24.84 kB / 0.6505 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.5201, allocations: 11.98 kB / 0.6505 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.5218, allocations: 2.684 MB / 0.6531 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5219, allocations: 3.938 kB / 0.6531 GB, free: 10.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/0.5297, allocations: 5.569 MB / 0.6585 GB, free: 4.723 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.53, allocations: 208.1 kB / 0.6587 GB, free: 4.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.5301, allocations: 16 kB / 0.6587 GB, free: 4.484 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.5305, allocations: 24.14 kB / 0.6588 GB, free: 4.461 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/0.5306, allocations: 39.94 kB / 0.6588 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.5306, allocations: 23.98 kB / 0.6588 GB, free: 4.398 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004751/0.5311, allocations: 435 kB / 0.6592 GB, free: 3.977 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5311, allocations: 0 / 0.6592 GB, free: 3.977 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001068/0.5322, allocations: 315.9 kB / 0.6595 GB, free: 3.668 MB / 474.7 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.0006284/0.5328, allocations: 265.7 kB / 0.6598 GB, free: 3.406 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.534, allocations: 0.5909 MB / 0.6604 GB, free: 2.82 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.534, allocations: 0 / 0.6604 GB, free: 2.82 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.535, allocations: 451.1 kB / 0.6608 GB, free: 2.367 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5367, allocations: 355.8 kB / 0.6611 GB, free: 2.023 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.5394, allocations: 2.044 MB / 0.6631 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.54, allocations: 0.9581 MB / 0.6641 GB, free: 14.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007443/0.5408, allocations: 220.2 kB / 0.6643 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.541, allocations: 63.41 kB / 0.6643 GB, free: 14.64 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.541, allocations: 0 / 0.6643 GB, free: 14.64 MB / 490.7 MB Notification: Performance of Templates: time 0.02532/0.5663, allocations: 16.39 MB / 0.6803 GB, free: 14.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches