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.001457/0.001457, allocations: 178 kB / 16.41 MB, free: 5.707 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.372/1.372, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007508/0.0007509, allocations: 94.3 kB / 270.9 MB, free: 8.344 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.3092/0.3092, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 12 kB / 431.4 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 58.85 MB / 490.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3365/0.4375, allocations: 179.3 MB / 0.6538 GB, free: 3.406 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.4496, allocations: 9.65 MB / 0.6633 GB, free: 9.734 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.4507, allocations: 27.75 kB / 0.6633 GB, free: 9.707 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.452, allocations: 318 kB / 0.6636 GB, free: 9.395 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.006266/0.4583, allocations: 2.077 MB / 0.6656 GB, free: 7.316 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005608/0.464, allocations: 1.965 MB / 0.6676 GB, free: 5.363 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003106/0.4671, allocations: 2.648 MB / 0.6701 GB, free: 2.711 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.468, allocations: 0.4941 MB / 0.6706 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.472, allocations: 1.683 MB / 0.6723 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2782/0.7503, allocations: 0.8533 MB / 0.6731 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.7506, allocations: 45.47 kB / 0.6731 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/0.7648, allocations: 4.717 MB / 0.6777 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009155/0.7657, allocations: 386.2 kB / 0.6781 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006126/0.7664, allocations: 208.2 kB / 0.6783 GB, free: 6.504 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006807/0.7732, allocations: 2.66 MB / 0.6809 GB, free: 6.434 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.7733, allocations: 0 / 0.6809 GB, free: 6.434 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.7733, allocations: 0 / 0.6809 GB, free: 6.434 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.094e-05/0.7733, allocations: 0.625 kB / 0.6809 GB, free: 6.434 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.006647/0.78, allocations: 1.613 MB / 0.6825 GB, free: 5.566 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.7801, allocations: 11.36 kB / 0.6825 GB, free: 5.562 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.7809, allocations: 111.3 kB / 0.6826 GB, free: 5.516 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.7825, allocations: 0.5746 MB / 0.6832 GB, free: 5.258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003889/0.7829, allocations: 120.2 kB / 0.6833 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.7831, allocations: 73.2 kB / 0.6833 GB, free: 21.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002839/0.7859, allocations: 1.164 MB / 0.6845 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.786, allocations: 3.422 kB / 0.6845 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.7862, allocations: 34.34 kB / 0.6845 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001054/0.7863, allocations: 58.5 kB / 0.6846 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002868/0.7892, allocations: 1.17 MB / 0.6857 GB, free: 21 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.01038/0.7996, allocations: 4.997 MB / 0.6906 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/0.8023, allocations: 0.8387 MB / 0.6914 GB, free: 18.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.8033, allocations: 423.8 kB / 0.6918 GB, free: 18.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00252/0.8059, allocations: 1.885 MB / 0.6937 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/0.806, allocations: 44.97 kB / 0.6937 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 4.568e-06/0.806, allocations: 0 / 0.6937 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.0226/0.8286, allocations: 4.156 MB / 0.6978 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.8287, allocations: 109.8 kB / 0.6979 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.8302, allocations: 0.6568 MB / 0.6985 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/0.8304, allocations: 48.19 kB / 0.6986 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.8308, allocations: 383.5 kB / 0.6989 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.8311, allocations: 289.2 kB / 0.6992 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.8312, allocations: 20.12 kB / 0.6992 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002674/0.8315, allocations: 389.1 kB / 0.6996 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.8334, allocations: 0.4912 MB / 0.7001 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.8353, allocations: 0.7524 MB / 0.7008 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.8372, allocations: 0.5926 MB / 0.7014 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.8372, allocations: 2.75 kB / 0.7014 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005698/0.8429, allocations: 1.697 MB / 0.703 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.843, allocations: 8.188 kB / 0.7031 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.843, allocations: 8.719 kB / 0.7031 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/0.8555, allocations: 1.4 MB / 0.7044 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8567, allocations: 158.8 kB / 0.7046 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004234/0.8609, allocations: 1.544 MB / 0.7061 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.8627, allocations: 90.73 kB / 0.7062 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.863, allocations: 59.09 kB / 0.7062 GB, free: 13.72 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.000809/0.8638, allocations: 303.2 kB / 0.7065 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/0.8641, allocations: 82.44 kB / 0.7066 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/0.8694, allocations: 1.653 MB / 0.7082 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.8695, allocations: 9.094 kB / 0.7082 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.8695, allocations: 1 kB / 0.7082 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.8695, allocations: 7.891 kB / 0.7082 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007173/0.8767, allocations: 2.566 MB / 0.7107 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.8767, allocations: 4.922 kB / 0.7107 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/0.8788, allocations: 259.3 kB / 0.711 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.8816, allocations: 403.2 kB / 0.7114 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.8817, allocations: 34.73 kB / 0.7114 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.8849, allocations: 2.267 MB / 0.7136 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.885, allocations: 6.438 kB / 0.7136 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005698/0.8907, allocations: 2.031 MB / 0.7156 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000907/0.8916, allocations: 298.4 kB / 0.7159 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.8918, allocations: 24.7 kB / 0.7159 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.8934, allocations: 74.92 kB / 0.716 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.8936, allocations: 67.81 kB / 0.7161 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.8938, allocations: 54.95 kB / 0.7161 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009489/0.8948, allocations: 484.4 kB / 0.7166 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8948, allocations: 0 / 0.7166 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002935/0.8977, allocations: 0.6994 MB / 0.7172 GB, free: 10.47 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.002171/0.8999, allocations: 0.8775 MB / 0.7181 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002517/0.9024, allocations: 1.243 MB / 0.7193 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.9025, allocations: 7.453 kB / 0.7193 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.904, allocations: 0.7091 MB / 0.72 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.9062, allocations: 478.3 kB / 0.7205 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/0.9105, allocations: 2.562 MB / 0.723 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.9111, allocations: 1.044 MB / 0.724 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/0.9115, allocations: 117 kB / 0.7241 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.9115, allocations: 0 / 0.7241 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of Templates: time 0.03735/0.9488, allocations: 28.74 MB / 0.7522 GB, free: 1.668 MB / 0.5105 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