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.0008978/0.000898, allocations: 96.2 kB / 15.69 MB, free: 480 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.001278/0.001278, allocations: 175.4 kB / 16.57 MB, free: 6.391 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.472/1.472, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.367/0.367, allocations: 43.54 MB / 314.5 MB, free: 9.016 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.000493/0.0004931, allocations: 19.98 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1289, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.418/0.547, allocations: 155.7 MB / 0.5844 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.5603, allocations: 10.67 MB / 0.5948 GB, free: 5.227 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.5616, allocations: 23.75 kB / 0.5949 GB, free: 5.203 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5627, allocations: 342.4 kB / 0.5952 GB, free: 4.867 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.5686, allocations: 1.98 MB / 0.5971 GB, free: 2.891 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.5738, allocations: 1.706 MB / 0.5988 GB, free: 1.195 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.5759, allocations: 1.228 MB / 0.6 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.5767, allocations: 0.4982 MB / 0.6005 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002778/0.5794, allocations: 1.376 MB / 0.6018 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.5806, allocations: 0.6037 MB / 0.6024 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.5807, allocations: 48 kB / 0.6025 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009509/0.5902, allocations: 4.494 MB / 0.6068 GB, free: 8.926 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006971/0.591, allocations: 351.1 kB / 0.6072 GB, free: 8.582 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005438/0.5915, allocations: 213.2 kB / 0.6074 GB, free: 8.367 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.5967, allocations: 2.401 MB / 0.6097 GB, free: 5.965 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5967, allocations: 0 / 0.6097 GB, free: 5.965 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5967, allocations: 0 / 0.6097 GB, free: 5.965 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.5968, allocations: 0 / 0.6097 GB, free: 5.965 MB / 478.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.004929/0.6017, allocations: 1.536 MB / 0.6112 GB, free: 4.375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.6018, allocations: 12.02 kB / 0.6112 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.6022, allocations: 114.8 kB / 0.6114 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009642/0.6031, allocations: 0.5706 MB / 0.6119 GB, free: 3.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.6033, allocations: 121.4 kB / 0.612 GB, free: 3.508 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.6034, allocations: 79.92 kB / 0.6121 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.6052, allocations: 1.151 MB / 0.6132 GB, free: 2.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.6053, allocations: 4 kB / 0.6132 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.6054, allocations: 39.92 kB / 0.6133 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.836e-05/0.6055, allocations: 57.91 kB / 0.6133 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.6072, allocations: 1.159 MB / 0.6145 GB, free: 0.9688 MB / 478.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.006355/0.6135, allocations: 5.048 MB / 0.6194 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.6151, allocations: 0.8352 MB / 0.6202 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.6163, allocations: 1.559 MB / 0.6217 GB, free: 8.867 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.6164, allocations: 39.12 kB / 0.6218 GB, free: 8.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.474e-06/0.6164, allocations: 0 / 0.6218 GB, free: 8.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.0125/0.6289, allocations: 4.158 MB / 0.6258 GB, free: 4.613 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.629, allocations: 111.5 kB / 0.6259 GB, free: 4.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008771/0.6299, allocations: 0.6525 MB / 0.6266 GB, free: 3.816 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.659e-05/0.63, allocations: 41.7 kB / 0.6266 GB, free: 3.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.6303, allocations: 383.5 kB / 0.627 GB, free: 3.391 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.6305, allocations: 291.8 kB / 0.6272 GB, free: 3.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.6306, allocations: 20 kB / 0.6273 GB, free: 3.082 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.6308, allocations: 394.8 kB / 0.6276 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/0.6317, allocations: 497.6 kB / 0.6281 GB, free: 2.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.6328, allocations: 0.7562 MB / 0.6289 GB, free: 1.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.634, allocations: 0.5808 MB / 0.6294 GB, free: 0.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.634, allocations: 4 kB / 0.6294 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.2474/0.8814, allocations: 1.691 MB / 0.6311 GB, free: 150.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.8815, allocations: 11.53 kB / 0.6311 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.8815, allocations: 8 kB / 0.6311 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006721/0.8882, allocations: 1.397 MB / 0.6325 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.8889, allocations: 160.9 kB / 0.6326 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.8912, allocations: 1.548 MB / 0.6341 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.8923, allocations: 84.02 kB / 0.6342 GB, free: 150.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.8924, allocations: 64.56 kB / 0.6343 GB, free: 150.4 MB / 494.1 MB 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.0005415/0.8929, allocations: 297.5 kB / 0.6346 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.8931, allocations: 85.56 kB / 0.6346 GB, free: 150.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/0.896, allocations: 1.656 MB / 0.6362 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.896, allocations: 9.25 kB / 0.6363 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.896, allocations: 4.609 kB / 0.6363 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.896, allocations: 3.469 kB / 0.6363 GB, free: 150.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003847/0.8999, allocations: 2.569 MB / 0.6388 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8999, allocations: 0.75 kB / 0.6388 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.9011, allocations: 271.9 kB / 0.639 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.9028, allocations: 400.7 kB / 0.6394 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/0.9029, allocations: 31.61 kB / 0.6394 GB, free: 149.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.9049, allocations: 2.268 MB / 0.6417 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.905, allocations: 5.25 kB / 0.6417 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/0.908, allocations: 2.092 MB / 0.6437 GB, free: 147.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.9085, allocations: 307.7 kB / 0.644 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.9087, allocations: 18.09 kB / 0.644 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.9095, allocations: 78.72 kB / 0.6441 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.9096, allocations: 67.2 kB / 0.6442 GB, free: 147 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.21e-05/0.9097, allocations: 51.88 kB / 0.6442 GB, free: 147 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005027/0.9102, allocations: 488.9 kB / 0.6447 GB, free: 146.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9102, allocations: 0 / 0.6447 GB, free: 146.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002084/0.9123, allocations: 0.7036 MB / 0.6454 GB, free: 146.7 MB / 494.1 MB 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.001972/0.9143, allocations: 0.8573 MB / 0.6462 GB, free: 146.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.9166, allocations: 1.257 MB / 0.6474 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.9167, allocations: 7.562 kB / 0.6474 GB, free: 146.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001452/0.9181, allocations: 0.715 MB / 0.6481 GB, free: 145.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.9202, allocations: 462.9 kB / 0.6486 GB, free: 145.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.9242, allocations: 2.506 MB / 0.651 GB, free: 144.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.9246, allocations: 1.059 MB / 0.6521 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0011/0.9257, allocations: 308.9 kB / 0.6524 GB, free: 143.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.926, allocations: 105.7 kB / 0.6525 GB, free: 143.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.926, allocations: 0 / 0.6525 GB, free: 143.7 MB / 494.1 MB Notification: Performance of Templates: time 0.04897/0.975, allocations: 33.06 MB / 0.6847 GB, free: 132.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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