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.001123/0.001123, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001047/0.001047, allocations: 194 kB / 18.12 MB, free: 5.383 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.357/1.357, allocations: 222.9 MB / 241.8 MB, free: 15.47 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.2199/0.2199, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 65.17 kB / 407.7 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 60.82 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.486/0.6146, allocations: 189.7 MB / 0.6428 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.625, allocations: 7.638 MB / 0.6503 GB, free: 11.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009913/0.626, allocations: 31.69 kB / 0.6503 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.6274, allocations: 394.1 kB / 0.6507 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005671/0.6331, allocations: 2.079 MB / 0.6527 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005731/0.6388, allocations: 2.044 MB / 0.6547 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004245/0.6431, allocations: 3.202 MB / 0.6579 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.6443, allocations: 0.5088 MB / 0.6584 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/0.6489, allocations: 1.62 MB / 0.6599 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.6504, allocations: 0.8954 MB / 0.6608 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.6506, allocations: 48 kB / 0.6609 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.6608, allocations: 5.498 MB / 0.6662 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008313/0.6617, allocations: 382.9 kB / 0.6666 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.6626, allocations: 0.49 MB / 0.6671 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.673, allocations: 3.87 MB / 0.6709 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6731, allocations: 0 / 0.6709 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6731, allocations: 0 / 0.6709 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.6731, allocations: 0 / 0.6709 GB, free: 6.68 MB / 0.4981 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.005056/0.6782, allocations: 1.719 MB / 0.6725 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6782, allocations: 11.97 kB / 0.6725 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005752/0.6788, allocations: 114.8 kB / 0.6727 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6799, allocations: 0.5898 MB / 0.6732 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.68, allocations: 117.4 kB / 0.6733 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.6802, allocations: 71.98 kB / 0.6734 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.6822, allocations: 1.166 MB / 0.6745 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.6822, allocations: 4 kB / 0.6746 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-05/0.6824, allocations: 35.98 kB / 0.6746 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.641e-05/0.6824, allocations: 61.91 kB / 0.6746 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.6843, allocations: 1.159 MB / 0.6758 GB, free: 1.48 MB / 0.4981 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.007209/0.6915, allocations: 4.97 MB / 0.6806 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.6934, allocations: 0.8143 MB / 0.6814 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.6941, allocations: 427.7 kB / 0.6818 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/0.6955, allocations: 1.63 MB / 0.6834 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.6956, allocations: 47.11 kB / 0.6835 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=70): time 2.975e-06/0.6956, allocations: 0 / 0.6835 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.01426/0.7099, allocations: 4.004 MB / 0.6874 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.71, allocations: 115.5 kB / 0.6875 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.7109, allocations: 0.6525 MB / 0.6881 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/0.711, allocations: 45.7 kB / 0.6882 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.7113, allocations: 383.5 kB / 0.6885 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.7116, allocations: 299.8 kB / 0.6888 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.7119, allocations: 194.5 kB / 0.689 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7121, allocations: 386.8 kB / 0.6894 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.7131, allocations: 493.7 kB / 0.6898 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.7144, allocations: 0.7562 MB / 0.6906 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.7167, allocations: 1.285 MB / 0.6918 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7167, allocations: 0 / 0.6918 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003428/0.7201, allocations: 1.688 MB / 0.6935 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.7202, allocations: 8 kB / 0.6935 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.7202, allocations: 8.594 kB / 0.6935 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007251/0.7275, allocations: 1.308 MB / 0.6948 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.7281, allocations: 155.7 kB / 0.6949 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/0.731, allocations: 1.522 MB / 0.6964 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.7321, allocations: 91.77 kB / 0.6965 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.7323, allocations: 51.98 kB / 0.6966 GB, free: 11.11 MB / 0.5294 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.0006166/0.7329, allocations: 298 kB / 0.6968 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.7331, allocations: 87 kB / 0.6969 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.7365, allocations: 1.677 MB / 0.6986 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.7366, allocations: 11.98 kB / 0.6986 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7366, allocations: 0 / 0.6986 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7366, allocations: 7.922 kB / 0.6986 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/0.7412, allocations: 2.629 MB / 0.7011 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.7413, allocations: 0 / 0.7011 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.7426, allocations: 263.9 kB / 0.7014 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.7444, allocations: 380.2 kB / 0.7018 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.845e-05/0.7445, allocations: 27.98 kB / 0.7018 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.7472, allocations: 2.258 MB / 0.704 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7473, allocations: 4.031 kB / 0.704 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/0.7513, allocations: 2.028 MB / 0.706 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.752, allocations: 295.8 kB / 0.7063 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.7522, allocations: 20 kB / 0.7063 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009195/0.7531, allocations: 79.83 kB / 0.7064 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.7533, allocations: 52.92 kB / 0.7064 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.7534, allocations: 47.97 kB / 0.7064 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007068/0.7542, allocations: 0.499 MB / 0.7069 GB, free: 144 kB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7542, allocations: 0 / 0.7069 GB, free: 144 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.3113/1.065, allocations: 0.6629 MB / 0.7076 GB, free: 205.1 MB / 0.5294 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.003165/1.069, allocations: 0.7934 MB / 0.7084 GB, free: 205 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004414/1.073, allocations: 1.233 MB / 0.7096 GB, free: 205 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.073, allocations: 2.781 kB / 0.7096 GB, free: 205 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002986/1.076, allocations: 0.7119 MB / 0.7103 GB, free: 205 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/1.081, allocations: 0.5035 MB / 0.7108 GB, free: 205 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008994/1.09, allocations: 2.48 MB / 0.7132 GB, free: 203.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/1.091, allocations: 1.044 MB / 0.7142 GB, free: 203.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002906/1.094, allocations: 363.7 kB / 0.7145 GB, free: 203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/1.095, allocations: 87.89 kB / 0.7146 GB, free: 203 MB / 0.5294 GB Notification: Performance of SimCode: time 2.795e-06/1.095, allocations: 4.75 kB / 0.7146 GB, free: 203 MB / 0.5294 GB Notification: Performance of Templates: time 0.08547/1.18, allocations: 33.45 MB / 0.7473 GB, free: 181.2 MB / 0.5294 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