Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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 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 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 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 92.17 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 181.9 kB / 16.59 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3412/0.3412, allocations: 43.57 MB / 314.6 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008172/0.0008174, allocations: 12 kB / 384 MB, free: 8.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1425, allocations: 58.87 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4483/0.5908, allocations: 179.3 MB / 0.6075 GB, free: 8.363 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.603, allocations: 9.675 MB / 0.617 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.604, allocations: 23.81 kB / 0.617 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.6051, allocations: 310 kB / 0.6173 GB, free: 14.34 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006346/0.6115, allocations: 2.075 MB / 0.6193 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005875/0.6174, allocations: 1.961 MB / 0.6212 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.621, allocations: 2.652 MB / 0.6238 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6223, allocations: 496.4 kB / 0.6243 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004649/0.6269, allocations: 1.676 MB / 0.6259 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.6289, allocations: 0.8606 MB / 0.6268 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.6293, allocations: 48 kB / 0.6268 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2792/0.9085, allocations: 4.718 MB / 0.6314 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007844/0.9093, allocations: 385.3 kB / 0.6318 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.9098, allocations: 210.7 kB / 0.632 GB, free: 9.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005107/0.9149, allocations: 2.658 MB / 0.6346 GB, free: 9.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.9149, allocations: 4.094 kB / 0.6346 GB, free: 9.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.9149, allocations: 0 / 0.6346 GB, free: 9.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.9149, allocations: 0 / 0.6346 GB, free: 9.113 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003733/0.9187, allocations: 1.604 MB / 0.6362 GB, free: 8.336 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.9187, allocations: 17.45 kB / 0.6362 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003881/0.9191, allocations: 113.3 kB / 0.6363 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009568/0.9201, allocations: 0.578 MB / 0.6369 GB, free: 8.027 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.9202, allocations: 118.9 kB / 0.637 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.9204, allocations: 70.92 kB / 0.637 GB, free: 7.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.9222, allocations: 1.156 MB / 0.6382 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.9223, allocations: 11.8 kB / 0.6382 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.9224, allocations: 36.02 kB / 0.6382 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.752e-05/0.9225, allocations: 56.56 kB / 0.6383 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.9243, allocations: 1.169 MB / 0.6394 GB, free: 7.777 MB / 494.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.006269/0.9306, allocations: 4.999 MB / 0.6443 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.932, allocations: 0.8292 MB / 0.6451 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000535/0.9326, allocations: 426.1 kB / 0.6455 GB, free: 21.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001533/0.9341, allocations: 1.89 MB / 0.6474 GB, free: 19.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.9342, allocations: 47.5 kB / 0.6474 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 2.385e-06/0.9342, allocations: 0 / 0.6474 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01112/0.9453, allocations: 4.153 MB / 0.6515 GB, free: 18.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.9454, allocations: 113.6 kB / 0.6516 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007579/0.9462, allocations: 0.6538 MB / 0.6522 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/0.9463, allocations: 44.39 kB / 0.6522 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.9465, allocations: 382.8 kB / 0.6526 GB, free: 18.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.9467, allocations: 290.6 kB / 0.6529 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.143e-05/0.9468, allocations: 21.94 kB / 0.6529 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9469, allocations: 385.7 kB / 0.6533 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000868/0.9478, allocations: 0.4913 MB / 0.6538 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.9489, allocations: 0.7562 MB / 0.6545 GB, free: 17.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.9499, allocations: 0.5884 MB / 0.6551 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.95, allocations: 2.031 kB / 0.6551 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.0034/0.9534, allocations: 1.694 MB / 0.6567 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.9534, allocations: 9.016 kB / 0.6567 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.9534, allocations: 12.72 kB / 0.6567 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007055/0.9605, allocations: 1.399 MB / 0.6581 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/0.9612, allocations: 165 kB / 0.6583 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.9639, allocations: 1.549 MB / 0.6598 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.965, allocations: 86.86 kB / 0.6599 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.9652, allocations: 61.98 kB / 0.6599 GB, free: 16.51 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0006977/0.9659, allocations: 294.9 kB / 0.6602 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.9661, allocations: 85.97 kB / 0.6603 GB, free: 16.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003678/0.9698, allocations: 1.651 MB / 0.6619 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.9698, allocations: 9.719 kB / 0.6619 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.9698, allocations: 0.5 kB / 0.6619 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.9698, allocations: 7.781 kB / 0.6619 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/0.9744, allocations: 2.567 MB / 0.6644 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.9744, allocations: 5.234 kB / 0.6644 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9756, allocations: 263.4 kB / 0.6647 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.9774, allocations: 399 kB / 0.6651 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.9775, allocations: 34.34 kB / 0.6651 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.9802, allocations: 2.268 MB / 0.6673 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.9802, allocations: 2.031 kB / 0.6673 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.9844, allocations: 2.031 MB / 0.6693 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/0.9851, allocations: 297.6 kB / 0.6696 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.9854, allocations: 31 kB / 0.6696 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.9864, allocations: 76.48 kB / 0.6697 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.9866, allocations: 68.11 kB / 0.6697 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.9867, allocations: 50.39 kB / 0.6698 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007574/0.9875, allocations: 485.2 kB / 0.6703 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9875, allocations: 0 / 0.6703 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003156/0.9906, allocations: 0.7027 MB / 0.6709 GB, free: 13.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002423/0.9931, allocations: 0.8724 MB / 0.6718 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002762/0.9959, allocations: 1.247 MB / 0.673 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.9959, allocations: 8.016 kB / 0.673 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.9973, allocations: 0.7191 MB / 0.6737 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/0.9995, allocations: 484.6 kB / 0.6742 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/1.004, allocations: 2.504 MB / 0.6766 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/1.004, allocations: 1.044 MB / 0.6776 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00112/1.005, allocations: 308.6 kB / 0.6779 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/1.006, allocations: 106.5 kB / 0.678 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.873e-06/1.006, allocations: 0 / 0.678 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.04638/1.052, allocations: 33.43 MB / 0.7107 GB, free: 4.457 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches