Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001131/0.001131, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.524/1.524, allocations: 205.4 MB / 223.6 MB, free: 8.934 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.0008097/0.00081, allocations: 87.34 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005644/0.0005645, allocations: 8 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3053, allocations: 47.58 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.55/13.85, allocations: 6.68 GB / 7.047 GB, free: 127.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/13.85, allocations: 80.56 kB / 7.047 GB, free: 127.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7203/14.57, allocations: 192.8 MB / 7.235 GB, free: 77.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.825e-06/14.57, allocations: 0 / 7.235 GB, free: 77.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/14.57, allocations: 3.75 kB / 7.235 GB, free: 77.55 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.007649/14.58, allocations: 1.448 MB / 7.237 GB, free: 76.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/14.58, allocations: 11.98 kB / 7.237 GB, free: 76.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/14.58, allocations: 22.41 kB / 7.237 GB, free: 76.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/14.58, allocations: 225.4 kB / 7.237 GB, free: 76.64 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/14.58, allocations: 7.984 kB / 7.237 GB, free: 76.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/14.58, allocations: 20.5 kB / 7.237 GB, free: 76.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006807/14.58, allocations: 292.9 kB / 7.237 GB, free: 76.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/14.58, allocations: 192 / 7.237 GB, free: 76.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/14.58, allocations: 13.39 kB / 7.237 GB, free: 76.58 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/14.58, allocations: 9.656 kB / 7.237 GB, free: 76.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007056/14.58, allocations: 307.1 kB / 7.238 GB, free: 76.58 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.001364/14.59, allocations: 0.7134 MB / 7.238 GB, free: 76.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007678/14.59, allocations: 244.3 kB / 7.239 GB, free: 76.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/14.59, allocations: 137.8 kB / 7.239 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/14.6, allocations: 12.44 MB / 7.251 GB, free: 63.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/14.6, allocations: 36.31 kB / 7.251 GB, free: 63.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 5.31e-06/14.6, allocations: 1.375 kB / 7.251 GB, free: 63.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.003039/14.6, allocations: 0.692 MB / 7.252 GB, free: 63.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/14.6, allocations: 88.73 kB / 7.252 GB, free: 63.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/14.6, allocations: 126.2 kB / 7.252 GB, free: 63.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/14.6, allocations: 35.27 kB / 7.252 GB, free: 63.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/14.6, allocations: 110.5 kB / 7.252 GB, free: 62.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/14.6, allocations: 124.2 kB / 7.252 GB, free: 62.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/14.6, allocations: 9.625 kB / 7.252 GB, free: 62.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.894e-05/14.6, allocations: 324.4 kB / 7.252 GB, free: 62.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/14.6, allocations: 135.6 kB / 7.253 GB, free: 62.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/14.6, allocations: 206.5 kB / 7.253 GB, free: 62.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009313/14.61, allocations: 366.1 kB / 7.253 GB, free: 62.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/14.61, allocations: 0 / 7.253 GB, free: 62.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001156/14.61, allocations: 417.8 kB / 7.254 GB, free: 62.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/14.61, allocations: 13.42 kB / 7.254 GB, free: 62.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/14.61, allocations: 2 kB / 7.254 GB, free: 62.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/14.61, allocations: 3.188 kB / 7.254 GB, free: 62.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/14.61, allocations: 91.28 kB / 7.254 GB, free: 62.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/14.61, allocations: 6.031 kB / 7.254 GB, free: 62.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/14.61, allocations: 28.33 kB / 7.254 GB, free: 62.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/14.61, allocations: 19.08 kB / 7.254 GB, free: 62.38 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.0001536/14.61, allocations: 148.2 kB / 7.254 GB, free: 62.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/14.61, allocations: 25.62 kB / 7.254 GB, free: 62.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005642/14.61, allocations: 206.9 kB / 7.254 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/14.61, allocations: 3.75 kB / 7.254 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/14.61, allocations: 3.172 kB / 7.254 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/14.61, allocations: 1.031 kB / 7.254 GB, free: 62.21 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/14.61, allocations: 0.7602 MB / 7.255 GB, free: 61.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/14.61, allocations: 5.406 kB / 7.255 GB, free: 61.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/14.61, allocations: 81.69 kB / 7.255 GB, free: 61.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/14.61, allocations: 3.812 kB / 7.255 GB, free: 61.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/14.61, allocations: 15.59 kB / 7.255 GB, free: 61.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/14.61, allocations: 7.531 kB / 7.255 GB, free: 61.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/14.61, allocations: 1.125 kB / 7.255 GB, free: 61.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/14.61, allocations: 0.7251 MB / 7.256 GB, free: 61.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/14.61, allocations: 125.4 kB / 7.256 GB, free: 61.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/14.61, allocations: 5.25 kB / 7.256 GB, free: 61.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/14.61, allocations: 26.98 kB / 7.256 GB, free: 61.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/14.61, allocations: 35.81 kB / 7.256 GB, free: 61.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/14.61, allocations: 17.22 kB / 7.256 GB, free: 61.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.031e-05/14.61, allocations: 96.78 kB / 7.256 GB, free: 61.42 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/14.61, allocations: 0 / 7.256 GB, free: 61.42 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005895/14.62, allocations: 1.104 MB / 7.257 GB, free: 61.29 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.009314/14.63, allocations: 1.625 MB / 7.259 GB, free: 61.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001275/14.63, allocations: 351.6 kB / 7.259 GB, free: 61.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/14.63, allocations: 3.5 kB / 7.259 GB, free: 61.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004475/14.63, allocations: 180.9 kB / 7.259 GB, free: 61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/14.63, allocations: 100.1 kB / 7.259 GB, free: 60.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/14.65, allocations: 11.96 MB / 7.271 GB, free: 59.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/14.65, allocations: 0.7354 MB / 7.272 GB, free: 58.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/14.65, allocations: 44.89 kB / 7.272 GB, free: 58.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.685e-06/14.65, allocations: 0 / 7.272 GB, free: 58.8 MB / 442.7 MB Notification: Performance of Templates: time 0.03812/14.69, allocations: 23.86 MB / 7.295 GB, free: 57.23 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches