Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.705/1.705, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008869/0.0008874, allocations: 87.78 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 4 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2891, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15/15.29, allocations: 6.679 GB / 7.046 GB, free: 452 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/15.29, allocations: 75.97 kB / 7.046 GB, free: 376 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.076/16.37, allocations: 192.9 MB / 7.235 GB, free: 74.94 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.043e-06/16.37, allocations: 0 / 7.235 GB, free: 74.94 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/16.37, allocations: 3.875 kB / 7.235 GB, free: 74.94 MB / 442.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.00742/16.37, allocations: 1.458 MB / 7.236 GB, free: 74.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/16.37, allocations: 11.44 kB / 7.236 GB, free: 74.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/16.37, allocations: 25.83 kB / 7.236 GB, free: 74.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/16.37, allocations: 218.1 kB / 7.236 GB, free: 74.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/16.37, allocations: 7.859 kB / 7.236 GB, free: 74.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/16.37, allocations: 21.31 kB / 7.237 GB, free: 74.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/16.38, allocations: 287.2 kB / 7.237 GB, free: 73.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/16.38, allocations: 0 / 7.237 GB, free: 73.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/16.38, allocations: 10.91 kB / 7.237 GB, free: 73.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/16.38, allocations: 10.48 kB / 7.237 GB, free: 73.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007267/16.38, allocations: 305.8 kB / 7.237 GB, free: 73.99 MB / 442.7 MB 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.001379/16.38, allocations: 0.7124 MB / 7.238 GB, free: 73.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/16.38, allocations: 252.7 kB / 7.238 GB, free: 73.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/16.39, allocations: 12.44 MB / 7.25 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/16.39, allocations: 35.66 kB / 7.25 GB, free: 60.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 2.916e-06/16.39, allocations: 3.688 kB / 7.25 GB, free: 60.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.002827/16.39, allocations: 0.7017 MB / 7.251 GB, free: 60.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/16.39, allocations: 84.8 kB / 7.251 GB, free: 60.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/16.39, allocations: 117.3 kB / 7.251 GB, free: 60.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/16.39, allocations: 34.89 kB / 7.251 GB, free: 60.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/16.39, allocations: 104.8 kB / 7.251 GB, free: 60.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/16.39, allocations: 130.2 kB / 7.251 GB, free: 60.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/16.39, allocations: 10.28 kB / 7.251 GB, free: 60.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/16.39, allocations: 328.5 kB / 7.252 GB, free: 60.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/16.4, allocations: 137.6 kB / 7.252 GB, free: 60.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/16.4, allocations: 207.5 kB / 7.252 GB, free: 59.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/16.4, allocations: 149.4 kB / 7.252 GB, free: 59.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/16.4, allocations: 6.781 kB / 7.252 GB, free: 59.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001066/16.4, allocations: 424.2 kB / 7.253 GB, free: 59.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/16.4, allocations: 3.625 kB / 7.253 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/16.4, allocations: 3.312 kB / 7.253 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/16.4, allocations: 2.875 kB / 7.253 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/16.4, allocations: 95.69 kB / 7.253 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/16.4, allocations: 3.438 kB / 7.253 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/16.4, allocations: 29.73 kB / 7.253 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/16.4, allocations: 20.58 kB / 7.253 GB, free: 59.88 MB / 442.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 () * Number of clocked 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.0001577/16.4, allocations: 135.5 kB / 7.253 GB, free: 59.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/16.4, allocations: 19.47 kB / 7.253 GB, free: 59.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005001/16.4, allocations: 203.7 kB / 7.253 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/16.4, allocations: 7.312 kB / 7.253 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/16.4, allocations: 5.922 kB / 7.253 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/16.4, allocations: 3.656 kB / 7.253 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/16.4, allocations: 0.7652 MB / 7.254 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/16.4, allocations: 0 / 7.254 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/16.4, allocations: 80.52 kB / 7.254 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/16.4, allocations: 3.875 kB / 7.254 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/16.4, allocations: 19.62 kB / 7.254 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/16.4, allocations: 2.656 kB / 7.254 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/16.4, allocations: 9 kB / 7.254 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/16.4, allocations: 0.7888 MB / 7.255 GB, free: 59.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/16.4, allocations: 126.8 kB / 7.255 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/16.4, allocations: 11.38 kB / 7.255 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/16.4, allocations: 24.89 kB / 7.255 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/16.4, allocations: 26.61 kB / 7.255 GB, free: 58.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/16.4, allocations: 23.86 kB / 7.255 GB, free: 58.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.277e-05/16.4, allocations: 92.75 kB / 7.255 GB, free: 58.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/16.4, allocations: 0 / 7.255 GB, free: 58.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007062/16.41, allocations: 1.1 MB / 7.256 GB, free: 58.7 MB / 442.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 () * Number of clocked 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.01291/16.42, allocations: 1.633 MB / 7.258 GB, free: 58.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001391/16.42, allocations: 343.1 kB / 7.258 GB, free: 58.46 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/16.42, allocations: 1.531 kB / 7.258 GB, free: 58.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/16.43, allocations: 181.7 kB / 7.258 GB, free: 58.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007341/16.43, allocations: 92.08 kB / 7.258 GB, free: 58.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/16.45, allocations: 12.36 MB / 7.27 GB, free: 57.01 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/16.45, allocations: 0.7402 MB / 7.271 GB, free: 56.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005727/16.45, allocations: 87.92 kB / 7.271 GB, free: 56.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/16.45, allocations: 39.69 kB / 7.271 GB, free: 56.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/16.45, allocations: 0 / 7.271 GB, free: 56.3 MB / 442.7 MB Notification: Performance of Templates: time 0.05463/16.51, allocations: 33.04 MB / 7.303 GB, free: 54.83 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches