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.001269/0.001269, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001265/0.001265, allocations: 181.2 kB / 19.38 MB, free: 3.727 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.337/1.337, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2122/0.2122, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2253/0.6321, allocations: 190.5 MB / 0.7056 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.643, allocations: 7.39 MB / 0.7129 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.6441, allocations: 19.88 kB / 0.7129 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.6457, allocations: 437.5 kB / 0.7133 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007394/0.6531, allocations: 2.349 MB / 0.7156 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006906/0.66, allocations: 2.293 MB / 0.7178 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3982/1.058, allocations: 2.183 MB / 0.72 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/1.06, allocations: 0.5919 MB / 0.7205 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004973/1.065, allocations: 1.806 MB / 0.7223 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/1.066, allocations: 0.8592 MB / 0.7231 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/1.066, allocations: 94.97 kB / 0.7232 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/1.077, allocations: 5.178 MB / 0.7283 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000949/1.078, allocations: 430 kB / 0.7287 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/1.079, allocations: 0.5328 MB / 0.7292 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008934/1.088, allocations: 3.79 MB / 0.7329 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.088, allocations: 0.9375 kB / 0.7329 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.695e-06/1.088, allocations: 0 / 0.7329 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.461e-05/1.088, allocations: 0 / 0.7329 GB, free: 4.07 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.004552/1.093, allocations: 1.716 MB / 0.7346 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.093, allocations: 11.06 kB / 0.7346 GB, free: 19.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/1.093, allocations: 113.6 kB / 0.7347 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009457/1.094, allocations: 0.6157 MB / 0.7353 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.094, allocations: 114.8 kB / 0.7354 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/1.095, allocations: 72.12 kB / 0.7355 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/1.096, allocations: 1.163 MB / 0.7366 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/1.096, allocations: 2.594 kB / 0.7366 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/1.096, allocations: 31.19 kB / 0.7367 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/1.097, allocations: 67.12 kB / 0.7367 GB, free: 18.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/1.098, allocations: 1.157 MB / 0.7379 GB, free: 18.62 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.006249/1.104, allocations: 4.977 MB / 0.7427 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/1.106, allocations: 0.8173 MB / 0.7435 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/1.107, allocations: 422.8 kB / 0.7439 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/1.108, allocations: 1.62 MB / 0.7455 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/1.108, allocations: 53.44 kB / 0.7456 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.347e-06/1.108, allocations: 0.625 kB / 0.7456 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01278/1.121, allocations: 4.007 MB / 0.7495 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.11e-05/1.121, allocations: 118 kB / 0.7496 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008155/1.122, allocations: 0.6578 MB / 0.7502 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.122, allocations: 47.02 kB / 0.7503 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/1.122, allocations: 379.7 kB / 0.7506 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/1.122, allocations: 292.8 kB / 0.7509 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002892/1.123, allocations: 193.3 kB / 0.7511 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.123, allocations: 392.7 kB / 0.7515 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/1.124, allocations: 494.1 kB / 0.7519 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.125, allocations: 0.7561 MB / 0.7527 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/1.127, allocations: 1.286 MB / 0.7539 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.127, allocations: 2.125 kB / 0.7539 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003536/1.13, allocations: 1.679 MB / 0.7556 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/1.13, allocations: 12.41 kB / 0.7556 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.13, allocations: 7.719 kB / 0.7556 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006928/1.137, allocations: 1.307 MB / 0.7569 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/1.138, allocations: 158.8 kB / 0.757 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/1.14, allocations: 1.529 MB / 0.7585 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/1.141, allocations: 55.38 kB / 0.7586 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.142, allocations: 56.55 kB / 0.7586 GB, free: 11.4 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.00057/1.142, allocations: 297.3 kB / 0.7589 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/1.142, allocations: 89.22 kB / 0.759 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003161/1.145, allocations: 1.668 MB / 0.7606 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/1.146, allocations: 9.453 kB / 0.7606 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.146, allocations: 1.312 kB / 0.7606 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.146, allocations: 6.281 kB / 0.7606 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/1.15, allocations: 2.634 MB / 0.7632 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/1.15, allocations: 2.406 kB / 0.7632 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.151, allocations: 263.5 kB / 0.7635 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/1.153, allocations: 373.6 kB / 0.7638 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/1.153, allocations: 30.5 kB / 0.7638 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/1.155, allocations: 2.351 MB / 0.7661 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.155, allocations: 1 kB / 0.7661 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/1.159, allocations: 2.027 MB / 0.7681 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/1.16, allocations: 294.7 kB / 0.7684 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/1.16, allocations: 30.47 kB / 0.7684 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000802/1.161, allocations: 55.73 kB / 0.7685 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.161, allocations: 58.53 kB / 0.7685 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.161, allocations: 51.39 kB / 0.7686 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006345/1.162, allocations: 0.4955 MB / 0.7691 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.162, allocations: 3.75 kB / 0.7691 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00213/1.164, allocations: 0.6716 MB / 0.7697 GB, free: 8.039 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.001841/1.166, allocations: 0.7904 MB / 0.7705 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002674/1.169, allocations: 1.248 MB / 0.7717 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.169, allocations: 3.438 kB / 0.7717 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/1.17, allocations: 0.6954 MB / 0.7724 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/1.173, allocations: 0.5272 MB / 0.7729 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/1.178, allocations: 2.207 MB / 0.7751 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/1.179, allocations: 1.038 MB / 0.7761 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/1.179, allocations: 99.34 kB / 0.7762 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/1.179, allocations: 4 kB / 0.7762 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of Templates: time 0.04131/1.22, allocations: 28.39 MB / 0.8039 GB, free: 13.95 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/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