Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001516/0.001516, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.972/1.972, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001076/0.001076, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.384e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.0988, allocations: 47.57 MB / 369.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.04/11.14, allocations: 3.642 GB / 4.003 GB, free: 109.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/11.14, allocations: 67.84 kB / 4.003 GB, free: 109.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1763/11.31, allocations: 48.68 MB / 4.05 GB, free: 65.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/11.31, allocations: 0 / 4.05 GB, free: 65.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/11.31, allocations: 8 kB / 4.05 GB, free: 65.52 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002384/11.31, allocations: 0.6235 MB / 4.051 GB, free: 64.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/11.31, allocations: 8.031 kB / 4.051 GB, free: 64.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000221/11.31, allocations: 23.8 kB / 4.051 GB, free: 64.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/11.32, allocations: 206.8 kB / 4.051 GB, free: 64.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/11.32, allocations: 12.33 kB / 4.051 GB, free: 64.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/11.32, allocations: 16 kB / 4.051 GB, free: 64.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/11.32, allocations: 249.4 kB / 4.051 GB, free: 64.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/11.32, allocations: 3.938 kB / 4.051 GB, free: 64.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/11.32, allocations: 12 kB / 4.051 GB, free: 64.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/11.32, allocations: 4 kB / 4.051 GB, free: 64.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/11.32, allocations: 227.9 kB / 4.052 GB, free: 64.05 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001947/11.32, allocations: 0.6794 MB / 4.052 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/11.32, allocations: 197.2 kB / 4.052 GB, free: 63.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/11.32, allocations: 121.7 kB / 4.053 GB, free: 62.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003921/11.32, allocations: 352.4 kB / 4.053 GB, free: 62.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/11.32, allocations: 42.98 kB / 4.053 GB, free: 62.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.737e-06/11.32, allocations: 0 / 4.053 GB, free: 62.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002478/11.32, allocations: 0.5053 MB / 4.053 GB, free: 61.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/11.32, allocations: 81.3 kB / 4.054 GB, free: 61.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/11.32, allocations: 117.1 kB / 4.054 GB, free: 61.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/11.32, allocations: 33.7 kB / 4.054 GB, free: 61.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/11.32, allocations: 175 kB / 4.054 GB, free: 61.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/11.32, allocations: 126.2 kB / 4.054 GB, free: 61.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/11.32, allocations: 4 kB / 4.054 GB, free: 61.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/11.32, allocations: 326.8 kB / 4.054 GB, free: 61.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/11.32, allocations: 112 kB / 4.054 GB, free: 60.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/11.32, allocations: 176.2 kB / 4.055 GB, free: 60.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/11.32, allocations: 129.8 kB / 4.055 GB, free: 60.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/11.32, allocations: 3.938 kB / 4.055 GB, free: 60.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009008/11.33, allocations: 373.2 kB / 4.055 GB, free: 60.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/11.33, allocations: 4 kB / 4.055 GB, free: 60.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/11.33, allocations: 4 kB / 4.055 GB, free: 60.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/11.33, allocations: 7.984 kB / 4.055 GB, free: 60.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/11.33, allocations: 87.88 kB / 4.055 GB, free: 60.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/11.33, allocations: 8.203 kB / 4.055 GB, free: 60.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/11.33, allocations: 31.83 kB / 4.055 GB, free: 60.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/11.33, allocations: 23.92 kB / 4.055 GB, free: 60.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/11.33, allocations: 120.9 kB / 4.055 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/11.33, allocations: 19.77 kB / 4.055 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005631/11.33, allocations: 178.3 kB / 4.055 GB, free: 59.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/11.33, allocations: 4 kB / 4.056 GB, free: 59.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/11.33, allocations: 4 kB / 4.056 GB, free: 59.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/11.33, allocations: 0 / 4.056 GB, free: 59.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/11.33, allocations: 0.7052 MB / 4.056 GB, free: 59.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/11.33, allocations: 4 kB / 4.056 GB, free: 59.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007808/11.33, allocations: 83.88 kB / 4.056 GB, free: 58.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/11.33, allocations: 4 kB / 4.056 GB, free: 58.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/11.33, allocations: 8 kB / 4.056 GB, free: 58.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/11.33, allocations: 0 / 4.056 GB, free: 58.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/11.33, allocations: 11.94 kB / 4.056 GB, free: 58.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/11.33, allocations: 0.6985 MB / 4.057 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/11.33, allocations: 116.9 kB / 4.057 GB, free: 58.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/11.33, allocations: 8 kB / 4.057 GB, free: 58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/11.33, allocations: 23.94 kB / 4.057 GB, free: 57.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/11.33, allocations: 27.91 kB / 4.057 GB, free: 57.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/11.33, allocations: 20.05 kB / 4.057 GB, free: 57.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.79e-05/11.33, allocations: 91.28 kB / 4.057 GB, free: 57.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.913e-06/11.33, allocations: 0 / 4.057 GB, free: 57.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000985/11.33, allocations: 187.8 kB / 4.057 GB, free: 57.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/11.33, allocations: 0.6495 MB / 4.058 GB, free: 56.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008058/11.34, allocations: 292.7 kB / 4.058 GB, free: 56.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/11.34, allocations: 4 kB / 4.058 GB, free: 56.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/11.34, allocations: 158.9 kB / 4.059 GB, free: 56.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009577/11.34, allocations: 87.12 kB / 4.059 GB, free: 56.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/11.34, allocations: 0.4975 MB / 4.059 GB, free: 55.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/11.34, allocations: 0.7412 MB / 4.06 GB, free: 55.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/11.34, allocations: 43.41 kB / 4.06 GB, free: 55.12 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/11.34, allocations: 0 / 4.06 GB, free: 55.12 MB / 426.7 MB Notification: Performance of Templates: time 0.01412/11.35, allocations: 7.136 MB / 4.067 GB, free: 47.97 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches