Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008104/0.0008105, allocations: 100.3 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3134/0.3134, allocations: 43.57 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 12 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3647/0.4688, allocations: 179.4 MB / 0.6545 GB, free: 3.219 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.4809, allocations: 9.674 MB / 0.6639 GB, free: 9.52 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.4819, allocations: 23.81 kB / 0.664 GB, free: 9.496 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.4833, allocations: 369.9 kB / 0.6643 GB, free: 9.133 MB / 490.7 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.006837/0.4902, allocations: 2.244 MB / 0.6665 GB, free: 6.891 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006837/0.497, allocations: 2.177 MB / 0.6686 GB, free: 4.727 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.5001, allocations: 2.663 MB / 0.6712 GB, free: 2.062 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5012, allocations: 0.5087 MB / 0.6717 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2608/0.762, allocations: 1.744 MB / 0.6734 GB, free: 6.141 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.7637, allocations: 0.8563 MB / 0.6743 GB, free: 6.141 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.764, allocations: 47.69 kB / 0.6743 GB, free: 6.141 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009625/0.7736, allocations: 5.837 MB / 0.68 GB, free: 6.141 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007627/0.7744, allocations: 382.3 kB / 0.6804 GB, free: 6.141 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008698/0.7753, allocations: 0.4933 MB / 0.6809 GB, free: 6.109 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005053/0.7804, allocations: 2.832 MB / 0.6836 GB, free: 6.039 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7804, allocations: 3.188 kB / 0.6836 GB, free: 6.039 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.7804, allocations: 1.75 kB / 0.6836 GB, free: 6.039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.7804, allocations: 0 / 0.6836 GB, free: 6.039 MB / 490.7 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.003542/0.784, allocations: 1.597 MB / 0.6852 GB, free: 5.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.784, allocations: 8.812 kB / 0.6852 GB, free: 5.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003199/0.7843, allocations: 114.9 kB / 0.6853 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/0.7853, allocations: 0.5869 MB / 0.6859 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.585e-05/0.7854, allocations: 123.9 kB / 0.686 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.7855, allocations: 74.34 kB / 0.6861 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.787, allocations: 1.159 MB / 0.6872 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.787, allocations: 1.406 kB / 0.6872 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.632e-05/0.7871, allocations: 37.55 kB / 0.6872 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.845e-05/0.7872, allocations: 65.78 kB / 0.6873 GB, free: 20.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.7887, allocations: 1.161 MB / 0.6884 GB, free: 20.61 MB / 0.4948 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.005533/0.7943, allocations: 5.01 MB / 0.6933 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.7958, allocations: 0.8349 MB / 0.6941 GB, free: 17.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.7963, allocations: 429.1 kB / 0.6945 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/0.7978, allocations: 1.888 MB / 0.6964 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.7978, allocations: 46.69 kB / 0.6964 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 2.614e-06/0.7979, allocations: 0 / 0.6964 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01179/0.8097, allocations: 4.153 MB / 0.7005 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.8097, allocations: 117.4 kB / 0.7006 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.8104, allocations: 0.6524 MB / 0.7012 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.8105, allocations: 45.7 kB / 0.7013 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.8107, allocations: 379.2 kB / 0.7016 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.8109, allocations: 297.5 kB / 0.7019 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.8109, allocations: 18.38 kB / 0.7019 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.8111, allocations: 389.7 kB / 0.7023 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008665/0.812, allocations: 0.4895 MB / 0.7028 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.813, allocations: 0.7545 MB / 0.7035 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002008/0.815, allocations: 1.289 MB / 0.7048 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.815, allocations: 2.531 kB / 0.7048 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003207/0.8183, allocations: 1.692 MB / 0.7064 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.8183, allocations: 8.719 kB / 0.7065 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8183, allocations: 11.12 kB / 0.7065 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006858/0.8252, allocations: 1.387 MB / 0.7078 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.8258, allocations: 158.6 kB / 0.708 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00249/0.8283, allocations: 1.553 MB / 0.7095 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/0.8292, allocations: 87.55 kB / 0.7096 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.8293, allocations: 61.5 kB / 0.7096 GB, free: 13.03 MB / 0.4948 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.0004835/0.8298, allocations: 317.7 kB / 0.7099 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.83, allocations: 85.72 kB / 0.71 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/0.8331, allocations: 1.648 MB / 0.7116 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.8332, allocations: 12.34 kB / 0.7116 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8332, allocations: 0.7188 kB / 0.7116 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8332, allocations: 5.016 kB / 0.7116 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00383/0.837, allocations: 2.563 MB / 0.7141 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.837, allocations: 0.9375 kB / 0.7141 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.8382, allocations: 265.1 kB / 0.7144 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.8399, allocations: 402.6 kB / 0.7148 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.55e-05/0.84, allocations: 35.7 kB / 0.7148 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/0.8423, allocations: 2.266 MB / 0.717 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8423, allocations: 2.812 kB / 0.717 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.8458, allocations: 2.036 MB / 0.719 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006466/0.8464, allocations: 298.5 kB / 0.7193 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.8466, allocations: 20.14 kB / 0.7193 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.8474, allocations: 74.05 kB / 0.7194 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.8475, allocations: 65.67 kB / 0.7195 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.8476, allocations: 53.48 kB / 0.7195 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005378/0.8482, allocations: 485.2 kB / 0.72 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8482, allocations: 4 kB / 0.72 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00218/0.8504, allocations: 0.7043 MB / 0.7207 GB, free: 9.77 MB / 0.4948 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.001894/0.8523, allocations: 0.8862 MB / 0.7215 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.8546, allocations: 1.248 MB / 0.7227 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.8546, allocations: 6.891 kB / 0.7228 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.8561, allocations: 0.7059 MB / 0.7234 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.8581, allocations: 477.4 kB / 0.7239 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.8619, allocations: 2.565 MB / 0.7264 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.8625, allocations: 1.047 MB / 0.7274 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.8629, allocations: 102.6 kB / 0.7275 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.8629, allocations: 0 / 0.7275 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of Templates: time 0.03455/0.8974, allocations: 28.72 MB / 0.7556 GB, free: 15 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches