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.002047/0.002047, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 75.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.511e-05, allocations: 0 / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3571, allocations: 47.57 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.09/11.45, allocations: 3.642 GB / 3.995 GB, free: 107.5 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/11.45, allocations: 71.95 kB / 3.995 GB, free: 107.5 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1765/11.63, allocations: 47.96 MB / 4.042 GB, free: 66.92 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.503e-06/11.63, allocations: 0 / 4.042 GB, free: 66.92 MB / 427.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/11.63, allocations: 4 kB / 4.042 GB, free: 66.91 MB / 427.1 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.002333/11.63, allocations: 0.6252 MB / 4.043 GB, free: 66.24 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/11.63, allocations: 12.03 kB / 4.043 GB, free: 66.23 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/11.63, allocations: 15.81 kB / 4.043 GB, free: 66.21 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/11.63, allocations: 218.8 kB / 4.043 GB, free: 65.96 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/11.63, allocations: 4 kB / 4.043 GB, free: 65.96 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/11.63, allocations: 9.031 kB / 4.043 GB, free: 65.95 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005331/11.63, allocations: 208.5 kB / 4.043 GB, free: 65.75 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/11.63, allocations: 221.2 kB / 4.044 GB, free: 65.52 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/11.63, allocations: 0 / 4.044 GB, free: 65.52 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/11.63, allocations: 0 / 4.044 GB, free: 65.52 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/11.63, allocations: 4 kB / 4.044 GB, free: 65.52 MB / 427.1 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.001904/11.63, allocations: 0.6352 MB / 4.044 GB, free: 64.82 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/11.63, allocations: 193.2 kB / 4.044 GB, free: 64.62 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/11.63, allocations: 113.3 kB / 4.045 GB, free: 64.5 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003734/11.63, allocations: 364.4 kB / 4.045 GB, free: 64.07 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/11.63, allocations: 39.34 kB / 4.045 GB, free: 64.03 MB / 427.1 MB Notification: Performance of pre-optimization done (n=29): time 3.276e-06/11.63, allocations: 0 / 4.045 GB, free: 64.03 MB / 427.1 MB Notification: Performance of matching and sorting (n=36): time 0.002487/11.64, allocations: 0.4922 MB / 4.045 GB, free: 63.53 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/11.64, allocations: 81.3 kB / 4.045 GB, free: 63.43 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/11.64, allocations: 107 kB / 4.046 GB, free: 63.32 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/11.64, allocations: 25.7 kB / 4.046 GB, free: 63.29 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/11.64, allocations: 179 kB / 4.046 GB, free: 63.11 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/11.64, allocations: 122.2 kB / 4.046 GB, free: 62.99 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/11.64, allocations: 0 / 4.046 GB, free: 62.99 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.872e-05/11.64, allocations: 326.8 kB / 4.046 GB, free: 62.66 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/11.64, allocations: 104 kB / 4.046 GB, free: 62.56 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/11.64, allocations: 167.8 kB / 4.046 GB, free: 62.37 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004965/11.64, allocations: 142.7 kB / 4.047 GB, free: 62.23 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/11.64, allocations: 3.938 kB / 4.047 GB, free: 62.23 MB / 427.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009359/11.64, allocations: 351.6 kB / 4.047 GB, free: 61.88 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/11.64, allocations: 7.953 kB / 4.047 GB, free: 61.88 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/11.64, allocations: 12.16 kB / 4.047 GB, free: 61.86 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/11.64, allocations: 4 kB / 4.047 GB, free: 61.86 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/11.64, allocations: 88.81 kB / 4.047 GB, free: 61.77 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/11.64, allocations: 4 kB / 4.047 GB, free: 61.77 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/11.64, allocations: 23.81 kB / 4.047 GB, free: 61.75 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/11.64, allocations: 12 kB / 4.047 GB, free: 61.73 MB / 427.1 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.0001425/11.64, allocations: 116.9 kB / 4.047 GB, free: 61.61 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/11.64, allocations: 15.81 kB / 4.047 GB, free: 61.6 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007313/11.64, allocations: 186.2 kB / 4.047 GB, free: 61.41 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/11.64, allocations: 4 kB / 4.047 GB, free: 61.4 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/11.64, allocations: 0 / 4.047 GB, free: 61.4 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/11.64, allocations: 0 / 4.047 GB, free: 61.4 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/11.64, allocations: 0.6541 MB / 4.048 GB, free: 60.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/11.64, allocations: 4 kB / 4.048 GB, free: 60.69 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008242/11.64, allocations: 75.88 kB / 4.048 GB, free: 60.62 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/11.64, allocations: 4 kB / 4.048 GB, free: 60.61 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/11.64, allocations: 12.16 kB / 4.048 GB, free: 60.6 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/11.64, allocations: 4 kB / 4.048 GB, free: 60.6 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/11.64, allocations: 0 / 4.048 GB, free: 60.6 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/11.65, allocations: 0.6915 MB / 4.049 GB, free: 59.84 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/11.65, allocations: 120.8 kB / 4.049 GB, free: 59.7 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/11.65, allocations: 4 kB / 4.049 GB, free: 59.7 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/11.65, allocations: 20.03 kB / 4.049 GB, free: 59.68 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.588e-05/11.65, allocations: 31.86 kB / 4.049 GB, free: 59.65 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/11.65, allocations: 16 kB / 4.049 GB, free: 59.63 MB / 427.1 MB Notification: Performance of sorting global known variables: time 7.179e-05/11.65, allocations: 91.27 kB / 4.049 GB, free: 59.54 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.323e-06/11.65, allocations: 1.5 kB / 4.049 GB, free: 59.54 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0009605/11.65, allocations: 171.8 kB / 4.049 GB, free: 59.38 MB / 427.1 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.001407/11.65, allocations: 0.7328 MB / 4.05 GB, free: 58.63 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0008006/11.65, allocations: 268.4 kB / 4.05 GB, free: 58.37 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/11.65, allocations: 0 / 4.05 GB, free: 58.37 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/11.65, allocations: 148.5 kB / 4.05 GB, free: 58.23 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/11.65, allocations: 89.17 kB / 4.05 GB, free: 58.14 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/11.65, allocations: 476.3 kB / 4.051 GB, free: 57.63 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/11.65, allocations: 0.7452 MB / 4.052 GB, free: 56.86 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/11.65, allocations: 35.42 kB / 4.052 GB, free: 56.82 MB / 427.1 MB Notification: Performance of SimCode: time 1.413e-06/11.65, allocations: 0 / 4.052 GB, free: 56.82 MB / 427.1 MB Notification: Performance of Templates: time 0.01532/11.67, allocations: 7.076 MB / 4.059 GB, free: 49.75 MB / 427.1 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