Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001089/0.001089, allocations: 117.2 kB / 17.78 MB, free: 5.262 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.001095/0.001095, allocations: 184.2 kB / 18.71 MB, free: 4.34 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.384/1.384, allocations: 222.9 MB / 242.4 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.2093/0.2093, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4422/0.4435, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2463/0.6898, allocations: 190.5 MB / 0.705 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.7008, allocations: 7.394 MB / 0.7122 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.702, allocations: 19.88 kB / 0.7122 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.7037, allocations: 449.4 kB / 0.7127 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007613/0.7113, allocations: 2.331 MB / 0.7149 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007167/0.7185, allocations: 2.293 MB / 0.7172 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.4777/1.196, allocations: 2.189 MB / 0.7193 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/1.198, allocations: 0.5959 MB / 0.7199 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/1.203, allocations: 1.797 MB / 0.7216 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/1.205, allocations: 0.863 MB / 0.7225 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002372/1.205, allocations: 93.84 kB / 0.7226 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/1.217, allocations: 5.179 MB / 0.7276 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000973/1.218, allocations: 427.8 kB / 0.728 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/1.219, allocations: 0.5358 MB / 0.7286 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01318/1.233, allocations: 3.789 MB / 0.7323 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.649e-06/1.233, allocations: 0 / 0.7323 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.517e-06/1.233, allocations: 1.031 kB / 0.7323 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.071e-05/1.233, allocations: 2.562 kB / 0.7323 GB, free: 4.027 MB / 0.5606 GB 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.005958/1.239, allocations: 1.715 MB / 0.7339 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.239, allocations: 9.156 kB / 0.734 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/1.239, allocations: 110 kB / 0.7341 GB, free: 19.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/1.24, allocations: 0.6207 MB / 0.7347 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/1.241, allocations: 118.8 kB / 0.7348 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/1.241, allocations: 68.3 kB / 0.7348 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.243, allocations: 1.164 MB / 0.736 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/1.243, allocations: 4.219 kB / 0.736 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/1.243, allocations: 33.73 kB / 0.736 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.878e-05/1.243, allocations: 62.95 kB / 0.7361 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/1.245, allocations: 1.158 MB / 0.7372 GB, free: 18.57 MB / 0.5762 GB 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.008387/1.253, allocations: 4.974 MB / 0.7421 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.255, allocations: 0.8172 MB / 0.7429 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/1.256, allocations: 424.3 kB / 0.7433 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/1.257, allocations: 1.626 MB / 0.7449 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/1.257, allocations: 51.58 kB / 0.7449 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 4.078e-06/1.257, allocations: 0.9062 kB / 0.7449 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01361/1.271, allocations: 3.996 MB / 0.7488 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/1.271, allocations: 114.3 kB / 0.7489 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/1.272, allocations: 0.6619 MB / 0.7496 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/1.272, allocations: 46.7 kB / 0.7496 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/1.273, allocations: 384.7 kB / 0.75 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/1.273, allocations: 287.6 kB / 0.7502 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003709/1.273, allocations: 195 kB / 0.7504 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.273, allocations: 393 kB / 0.7508 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009711/1.274, allocations: 495 kB / 0.7513 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/1.276, allocations: 0.7555 MB / 0.752 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00223/1.278, allocations: 1.282 MB / 0.7533 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/1.278, allocations: 3.219 kB / 0.7533 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003724/1.282, allocations: 1.679 MB / 0.7549 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.282, allocations: 12.41 kB / 0.7549 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.282, allocations: 12.61 kB / 0.7549 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0072/1.289, allocations: 1.299 MB / 0.7562 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/1.29, allocations: 156.8 kB / 0.7564 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/1.293, allocations: 1.526 MB / 0.7578 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/1.294, allocations: 56.42 kB / 0.7579 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/1.294, allocations: 49.88 kB / 0.7579 GB, free: 11.36 MB / 0.5762 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 (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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0008931/1.295, allocations: 306.1 kB / 0.7582 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/1.296, allocations: 89.09 kB / 0.7583 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/1.3, allocations: 1.678 MB / 0.76 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/1.3, allocations: 9.344 kB / 0.76 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.3, allocations: 0 / 0.76 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.3, allocations: 7.25 kB / 0.76 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/1.305, allocations: 2.63 MB / 0.7625 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.306, allocations: 4.219 kB / 0.7626 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.307, allocations: 261.8 kB / 0.7628 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00178/1.309, allocations: 371.6 kB / 0.7632 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/1.309, allocations: 33.72 kB / 0.7632 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/1.312, allocations: 2.351 MB / 0.7655 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/1.312, allocations: 3.656 kB / 0.7655 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/1.316, allocations: 2.03 MB / 0.7675 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/1.317, allocations: 299.7 kB / 0.7678 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/1.317, allocations: 25.41 kB / 0.7678 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.318, allocations: 50.36 kB / 0.7678 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.319, allocations: 64.08 kB / 0.7679 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/1.319, allocations: 49.5 kB / 0.7679 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008446/1.32, allocations: 0.4976 MB / 0.7684 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/1.32, allocations: 0 / 0.7684 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002966/1.323, allocations: 0.661 MB / 0.7691 GB, free: 8.008 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003123/1.326, allocations: 0.7999 MB / 0.7698 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003126/1.329, allocations: 1.242 MB / 0.7711 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.329, allocations: 2.656 kB / 0.7711 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/1.331, allocations: 0.7124 MB / 0.7718 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/1.334, allocations: 0.5198 MB / 0.7723 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/1.339, allocations: 2.156 MB / 0.7744 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/1.34, allocations: 1.046 MB / 0.7754 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001463/1.341, allocations: 372.9 kB / 0.7757 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/1.341, allocations: 88.97 kB / 0.7758 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/1.342, allocations: 0 / 0.7758 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.07247/1.414, allocations: 34.78 MB / 0.8098 GB, free: 7.223 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches