Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.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.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002509/0.002509, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.363/2.363, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001051/0.001051, allocations: 74.67 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.179e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09604, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.14/11.24, allocations: 3.56 GB / 3.92 GB, free: 53.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/11.24, allocations: 100.7 kB / 3.92 GB, free: 53.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.741/12.98, allocations: 317 MB / 4.23 GB, free: 64.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/12.98, allocations: 0 / 4.23 GB, free: 64.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.972e-05/12.98, allocations: 11.88 kB / 4.23 GB, free: 64.48 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.005699/12.99, allocations: 1.556 MB / 4.232 GB, free: 63.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/12.99, allocations: 7.5 kB / 4.232 GB, free: 63.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005256/12.99, allocations: 65.36 kB / 4.232 GB, free: 63.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/12.99, allocations: 357.5 kB / 4.232 GB, free: 63.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/12.99, allocations: 40.06 kB / 4.232 GB, free: 63.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/12.99, allocations: 48.91 kB / 4.232 GB, free: 63.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/12.99, allocations: 494.2 kB / 4.232 GB, free: 62.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/12.99, allocations: 0 / 4.232 GB, free: 62.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/12.99, allocations: 19.34 kB / 4.232 GB, free: 62.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/12.99, allocations: 10.44 kB / 4.233 GB, free: 62.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/12.99, allocations: 0.5861 MB / 4.233 GB, free: 62.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00456/12.99, allocations: 2.178 MB / 4.235 GB, free: 60.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/13, allocations: 0.5496 MB / 4.236 GB, free: 60.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/13, allocations: 256.1 kB / 4.236 GB, free: 60.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006376/13, allocations: 0.6945 MB / 4.237 GB, free: 59.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/13, allocations: 46.95 kB / 4.237 GB, free: 59.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/13, allocations: 4 kB / 4.237 GB, free: 59.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.02258/13.02, allocations: 3.349 MB / 4.24 GB, free: 56.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/13.02, allocations: 63.97 kB / 4.24 GB, free: 55.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/13.02, allocations: 267 kB / 4.24 GB, free: 55.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/13.02, allocations: 37.7 kB / 4.24 GB, free: 55.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/13.02, allocations: 247.5 kB / 4.241 GB, free: 55.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/13.02, allocations: 216 kB / 4.241 GB, free: 55.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/13.02, allocations: 16 kB / 4.241 GB, free: 55.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.591e-05/13.02, allocations: 334.8 kB / 4.241 GB, free: 54.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/13.02, allocations: 269.5 kB / 4.241 GB, free: 54.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/13.02, allocations: 341.7 kB / 4.242 GB, free: 54.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007481/13.02, allocations: 317.9 kB / 4.242 GB, free: 53.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/13.02, allocations: 0 / 4.242 GB, free: 53.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002562/13.03, allocations: 0.8772 MB / 4.243 GB, free: 53.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/13.03, allocations: 7.938 kB / 4.243 GB, free: 53.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/13.03, allocations: 3.938 kB / 4.243 GB, free: 53.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001797/13.03, allocations: 276.4 kB / 4.243 GB, free: 52.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/13.03, allocations: 119.8 kB / 4.243 GB, free: 52.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/13.03, allocations: 3.406 MB / 4.247 GB, free: 48.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/13.03, allocations: 71.56 kB / 4.247 GB, free: 48.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/13.03, allocations: 31.98 kB / 4.247 GB, free: 48.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002469/13.03, allocations: 132.9 kB / 4.247 GB, free: 48.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/13.03, allocations: 51.42 kB / 4.247 GB, free: 48.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006478/13.04, allocations: 1.265 MB / 4.248 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/13.04, allocations: 8 kB / 4.248 GB, free: 47.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/13.04, allocations: 0 / 4.248 GB, free: 47.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005815/13.05, allocations: 1.293 MB / 4.249 GB, free: 46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/13.05, allocations: 1.614 MB / 4.251 GB, free: 44.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/13.05, allocations: 0 / 4.251 GB, free: 44.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/13.05, allocations: 111.9 kB / 4.251 GB, free: 44.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/13.05, allocations: 304.5 kB / 4.251 GB, free: 43.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/13.05, allocations: 23.98 kB / 4.251 GB, free: 43.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/13.05, allocations: 0.7709 MB / 4.252 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/13.05, allocations: 4.062 kB / 4.252 GB, free: 43.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006411/13.06, allocations: 1.537 MB / 4.254 GB, free: 41.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/13.06, allocations: 124.7 kB / 4.254 GB, free: 41.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/13.06, allocations: 16 kB / 4.254 GB, free: 41.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/13.06, allocations: 67.73 kB / 4.254 GB, free: 41.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/13.06, allocations: 40.5 kB / 4.254 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/13.06, allocations: 31.97 kB / 4.254 GB, free: 41.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003202/13.06, allocations: 227.1 kB / 4.254 GB, free: 41.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/13.06, allocations: 0 / 4.254 GB, free: 41.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002209/13.06, allocations: 0.5346 MB / 4.255 GB, free: 40.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003/13.07, allocations: 1.189 MB / 4.256 GB, free: 39.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002373/13.07, allocations: 0.9126 MB / 4.257 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/13.07, allocations: 0 / 4.257 GB, free: 38.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00109/13.07, allocations: 382.9 kB / 4.257 GB, free: 38.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/13.07, allocations: 293.5 kB / 4.257 GB, free: 37.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/13.08, allocations: 1.046 MB / 4.258 GB, free: 36.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/13.08, allocations: 0.8649 MB / 4.259 GB, free: 35.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003811/13.08, allocations: 59.42 kB / 4.259 GB, free: 35.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.293e-06/13.08, allocations: 3.938 kB / 4.259 GB, free: 35.84 MB / 426.7 MB Notification: Performance of Templates: time 0.03748/13.12, allocations: 20.49 MB / 4.279 GB, free: 15.37 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches