Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002961/0.002961, allocations: 199 kB / 18.07 MB, free: 3.629 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.26/3.26, allocations: 226.5 MB / 245.4 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001479/0.001479, allocations: 102.5 kB / 297.4 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 4 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.483, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.44/13.93, allocations: 3.338 GB / 3.737 GB, free: 159.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/13.93, allocations: 70.09 kB / 3.737 GB, free: 159.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1902/14.12, allocations: 49.16 MB / 3.785 GB, free: 110 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.197e-06/14.12, allocations: 0 / 3.785 GB, free: 110 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.367e-05/14.12, allocations: 4 kB / 3.785 GB, free: 110 MB / 458.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.00705/14.12, allocations: 0.6356 MB / 3.785 GB, free: 109.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.733e-05/14.12, allocations: 12.03 kB / 3.785 GB, free: 109.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003778/14.12, allocations: 20.73 kB / 3.785 GB, free: 109.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/14.12, allocations: 212.2 kB / 3.786 GB, free: 109 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/14.12, allocations: 20.64 kB / 3.786 GB, free: 109 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/14.12, allocations: 20.28 kB / 3.786 GB, free: 109 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009006/14.13, allocations: 258 kB / 3.786 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/14.13, allocations: 192 / 3.786 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/14.13, allocations: 15.88 kB / 3.786 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/14.13, allocations: 4 kB / 3.786 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/14.13, allocations: 271.7 kB / 3.786 GB, free: 108.4 MB / 458.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.002055/14.13, allocations: 0.6752 MB / 3.787 GB, free: 107.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008418/14.13, allocations: 213.2 kB / 3.787 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/14.13, allocations: 141.4 kB / 3.787 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/14.13, allocations: 360.4 kB / 3.788 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/14.13, allocations: 34.55 kB / 3.788 GB, free: 106.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 4.178e-06/14.13, allocations: 0 / 3.788 GB, free: 106.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.003413/14.13, allocations: 0.6774 MB / 3.788 GB, free: 106.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/14.13, allocations: 81.11 kB / 3.788 GB, free: 106.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/14.13, allocations: 129.7 kB / 3.788 GB, free: 105.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/14.13, allocations: 33.7 kB / 3.788 GB, free: 105.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/14.13, allocations: 108.8 kB / 3.789 GB, free: 105.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/14.13, allocations: 126.2 kB / 3.789 GB, free: 105.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/14.13, allocations: 7.938 kB / 3.789 GB, free: 105.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/14.13, allocations: 330.8 kB / 3.789 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/14.14, allocations: 135.9 kB / 3.789 GB, free: 105.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000611/14.14, allocations: 203.6 kB / 3.789 GB, free: 104.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/14.14, allocations: 351.5 kB / 3.79 GB, free: 104.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/14.14, allocations: 0 / 3.79 GB, free: 104.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001363/14.14, allocations: 419.4 kB / 3.79 GB, free: 104.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/14.14, allocations: 12.16 kB / 3.79 GB, free: 104.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/14.14, allocations: 4 kB / 3.79 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/14.14, allocations: 4 kB / 3.79 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/14.14, allocations: 87.88 kB / 3.79 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/14.14, allocations: 7.938 kB / 3.79 GB, free: 104.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/14.14, allocations: 31.81 kB / 3.79 GB, free: 104 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/14.14, allocations: 20 kB / 3.79 GB, free: 104 MB / 458.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.0002334/14.14, allocations: 141.8 kB / 3.79 GB, free: 103.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/14.14, allocations: 23.75 kB / 3.79 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000659/14.14, allocations: 173.2 kB / 3.791 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/14.14, allocations: 4 kB / 3.791 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/14.14, allocations: 4 kB / 3.791 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/14.14, allocations: 0 / 3.791 GB, free: 103.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/14.14, allocations: 0.759 MB / 3.791 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/14.14, allocations: 4 kB / 3.791 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/14.14, allocations: 79.88 kB / 3.791 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/14.14, allocations: 4 kB / 3.791 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/14.14, allocations: 8 kB / 3.791 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/14.14, allocations: 7.984 kB / 3.791 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/14.14, allocations: 0 / 3.791 GB, free: 102.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/14.15, allocations: 0.7153 MB / 3.792 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/14.15, allocations: 113 kB / 3.792 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/14.15, allocations: 8 kB / 3.792 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006157/14.15, allocations: 31.94 kB / 3.792 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/14.15, allocations: 31.84 kB / 3.792 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/14.15, allocations: 12.38 kB / 3.792 GB, free: 101.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.205e-05/14.15, allocations: 99.2 kB / 3.792 GB, free: 101.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/14.15, allocations: 0 / 3.792 GB, free: 101.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001289/14.15, allocations: 195.8 kB / 3.793 GB, free: 101.5 MB / 458.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.002142/14.15, allocations: 0.6609 MB / 3.793 GB, free: 100.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/14.15, allocations: 343.9 kB / 3.794 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/14.15, allocations: 0 / 3.794 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/14.15, allocations: 176.2 kB / 3.794 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/14.15, allocations: 102.8 kB / 3.794 GB, free: 100.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/14.16, allocations: 0.7665 MB / 3.795 GB, free: 99.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/14.16, allocations: 0.7374 MB / 3.795 GB, free: 98.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/14.16, allocations: 43.34 kB / 3.795 GB, free: 98.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.463e-06/14.16, allocations: 0 / 3.795 GB, free: 98.59 MB / 458.7 MB Notification: Performance of Templates: time 0.01688/14.18, allocations: 6.998 MB / 3.802 GB, free: 91.59 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches