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.001302/0.001302, allocations: 180.9 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.427/1.427, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.001007/0.001007, allocations: 86.33 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 47.58 MB / 375.7 MB, free: 45.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.181/6.382, allocations: 3.642 GB / 4.009 GB, free: 86.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/6.382, allocations: 75.95 kB / 4.009 GB, free: 86.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1016/6.484, allocations: 48.77 MB / 4.057 GB, free: 36.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/6.484, allocations: 0 / 4.057 GB, free: 36.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.957e-05/6.484, allocations: 4 kB / 4.057 GB, free: 36.88 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.001793/6.486, allocations: 0.6278 MB / 4.058 GB, free: 36.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/6.486, allocations: 12.03 kB / 4.058 GB, free: 36.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/6.486, allocations: 20.75 kB / 4.058 GB, free: 36.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/6.486, allocations: 216.1 kB / 4.058 GB, free: 35.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/6.486, allocations: 8.703 kB / 4.058 GB, free: 35.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/6.486, allocations: 24.28 kB / 4.058 GB, free: 35.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005654/6.487, allocations: 258 kB / 4.058 GB, free: 35.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/6.487, allocations: 192 / 4.058 GB, free: 35.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/6.487, allocations: 11.94 kB / 4.058 GB, free: 35.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/6.487, allocations: 4 kB / 4.058 GB, free: 35.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005706/6.488, allocations: 268.6 kB / 4.058 GB, free: 35.35 MB / 426.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.001309/6.489, allocations: 0.6755 MB / 4.059 GB, free: 34.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/6.49, allocations: 217.2 kB / 4.059 GB, free: 34.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/6.49, allocations: 139.3 kB / 4.059 GB, free: 34.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/6.49, allocations: 364.3 kB / 4.06 GB, free: 33.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/6.49, allocations: 42.44 kB / 4.06 GB, free: 33.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 1.953e-06/6.49, allocations: 4 kB / 4.06 GB, free: 33.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002152/6.492, allocations: 0.6681 MB / 4.061 GB, free: 33.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/6.492, allocations: 89.09 kB / 4.061 GB, free: 32.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/6.493, allocations: 117.8 kB / 4.061 GB, free: 32.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/6.493, allocations: 37.64 kB / 4.061 GB, free: 32.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/6.493, allocations: 108.8 kB / 4.061 GB, free: 32.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/6.493, allocations: 130.1 kB / 4.061 GB, free: 32.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/6.493, allocations: 11.94 kB / 4.061 GB, free: 32.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/6.493, allocations: 326.8 kB / 4.061 GB, free: 32.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003121/6.493, allocations: 131.9 kB / 4.061 GB, free: 32.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/6.494, allocations: 203.6 kB / 4.062 GB, free: 31.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/6.494, allocations: 358.9 kB / 4.062 GB, free: 31.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/6.494, allocations: 4 kB / 4.062 GB, free: 31.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008294/6.495, allocations: 413.3 kB / 4.062 GB, free: 31.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/6.495, allocations: 9.812 kB / 4.062 GB, free: 31.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/6.495, allocations: 4 kB / 4.062 GB, free: 31.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/6.495, allocations: 4 kB / 4.062 GB, free: 31.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/6.496, allocations: 87.88 kB / 4.062 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/6.496, allocations: 7.938 kB / 4.062 GB, free: 30.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/6.496, allocations: 31.94 kB / 4.063 GB, free: 30.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/6.496, allocations: 16 kB / 4.063 GB, free: 30.92 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 () * 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.0001277/6.496, allocations: 141.8 kB / 4.063 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/6.496, allocations: 19.75 kB / 4.063 GB, free: 30.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/6.497, allocations: 174.4 kB / 4.063 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/6.497, allocations: 8 kB / 4.063 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/6.497, allocations: 0 / 4.063 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/6.497, allocations: 3.938 kB / 4.063 GB, free: 30.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/6.498, allocations: 0.7481 MB / 4.064 GB, free: 29.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/6.498, allocations: 4 kB / 4.064 GB, free: 29.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/6.498, allocations: 76.25 kB / 4.064 GB, free: 29.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/6.498, allocations: 4 kB / 4.064 GB, free: 29.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/6.499, allocations: 16 kB / 4.064 GB, free: 29.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/6.499, allocations: 4 kB / 4.064 GB, free: 29.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/6.499, allocations: 11.97 kB / 4.064 GB, free: 29.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/6.5, allocations: 0.7114 MB / 4.064 GB, free: 28.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/6.5, allocations: 116.8 kB / 4.065 GB, free: 28.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/6.5, allocations: 12 kB / 4.065 GB, free: 28.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/6.5, allocations: 24.05 kB / 4.065 GB, free: 28.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/6.5, allocations: 31.84 kB / 4.065 GB, free: 28.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/6.5, allocations: 11.98 kB / 4.065 GB, free: 28.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/6.5, allocations: 95.27 kB / 4.065 GB, free: 28.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/6.5, allocations: 0 / 4.065 GB, free: 28.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008644/6.501, allocations: 183.8 kB / 4.065 GB, free: 28.4 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 () * 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.001208/6.502, allocations: 0.6454 MB / 4.065 GB, free: 27.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008389/6.503, allocations: 335.6 kB / 4.066 GB, free: 27.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/6.503, allocations: 0 / 4.066 GB, free: 27.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/6.504, allocations: 178.9 kB / 4.066 GB, free: 27.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/6.504, allocations: 104.1 kB / 4.066 GB, free: 27.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/6.506, allocations: 0.7789 MB / 4.067 GB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/6.506, allocations: 0.7257 MB / 4.068 GB, free: 25.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/6.506, allocations: 43.41 kB / 4.068 GB, free: 25.52 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/6.506, allocations: 0 / 4.068 GB, free: 25.52 MB / 426.7 MB Notification: Performance of Templates: time 0.01084/6.517, allocations: 6.889 MB / 4.074 GB, free: 18.63 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