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.002176/0.002175, allocations: 185.8 kB / 16.4 MB, free: 5.75 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.885/1.885, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001093/0.001093, allocations: 95.47 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3266, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.19/10.52, allocations: 3.56 GB / 3.926 GB, free: 63.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/10.52, allocations: 99.55 kB / 3.926 GB, free: 63.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.72/12.24, allocations: 317.6 MB / 4.236 GB, free: 66.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/12.24, allocations: 2.062 kB / 4.236 GB, free: 66.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.804e-05/12.24, allocations: 9.344 kB / 4.236 GB, free: 66.99 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.005861/12.24, allocations: 1.588 MB / 4.238 GB, free: 65.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/12.24, allocations: 12.03 kB / 4.238 GB, free: 65.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005368/12.24, allocations: 59.66 kB / 4.238 GB, free: 65.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006826/12.24, allocations: 358.5 kB / 4.238 GB, free: 65.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/12.24, allocations: 33.03 kB / 4.238 GB, free: 65.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/12.24, allocations: 43.22 kB / 4.238 GB, free: 65.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/12.24, allocations: 498.9 kB / 4.239 GB, free: 65.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/12.24, allocations: 2.344 kB / 4.239 GB, free: 65.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/12.25, allocations: 23.34 kB / 4.239 GB, free: 65.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/12.25, allocations: 7.969 kB / 4.239 GB, free: 65.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/12.25, allocations: 0.5966 MB / 4.239 GB, free: 65.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/12.25, allocations: 2.178 MB / 4.241 GB, free: 63.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/12.25, allocations: 0.5557 MB / 4.242 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/12.25, allocations: 0.7004 MB / 4.242 GB, free: 62.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/12.25, allocations: 42.73 kB / 4.243 GB, free: 62.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.707e-06/12.25, allocations: 3.938 kB / 4.243 GB, free: 62.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.02824/12.28, allocations: 4.12 MB / 4.247 GB, free: 61.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/12.28, allocations: 62.55 kB / 4.247 GB, free: 61.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/12.28, allocations: 271.5 kB / 4.247 GB, free: 61.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/12.28, allocations: 37.08 kB / 4.247 GB, free: 60.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/12.28, allocations: 244.7 kB / 4.247 GB, free: 60.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/12.28, allocations: 225.8 kB / 4.247 GB, free: 60.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/12.28, allocations: 11.81 kB / 4.247 GB, free: 60.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/12.28, allocations: 343.3 kB / 4.248 GB, free: 60.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/12.28, allocations: 308.7 kB / 4.248 GB, free: 60.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/12.29, allocations: 386.9 kB / 4.248 GB, free: 59.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/12.29, allocations: 352.7 kB / 4.249 GB, free: 59.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/12.29, allocations: 2.906 kB / 4.249 GB, free: 59.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00383/12.29, allocations: 0.9883 MB / 4.25 GB, free: 59.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/12.29, allocations: 4.406 kB / 4.25 GB, free: 59.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/12.29, allocations: 3.938 kB / 4.25 GB, free: 59.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/12.29, allocations: 351.2 kB / 4.25 GB, free: 59.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/12.29, allocations: 121.3 kB / 4.25 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004498/12.3, allocations: 3.549 MB / 4.254 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/12.3, allocations: 62.64 kB / 4.254 GB, free: 55.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/12.3, allocations: 31.94 kB / 4.254 GB, free: 55.59 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 () * Number of clocked 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.0004302/12.3, allocations: 187.7 kB / 4.254 GB, free: 55.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/12.3, allocations: 43.53 kB / 4.254 GB, free: 55.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007749/12.31, allocations: 1.385 MB / 4.255 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/12.31, allocations: 7.953 kB / 4.255 GB, free: 54.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/12.31, allocations: 3.375 kB / 4.255 GB, free: 54.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007105/12.32, allocations: 1.431 MB / 4.257 GB, free: 53.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/12.32, allocations: 1.718 MB / 4.258 GB, free: 51.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/12.32, allocations: 7.953 kB / 4.258 GB, free: 51.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/12.32, allocations: 117.8 kB / 4.258 GB, free: 51.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003316/12.33, allocations: 393.4 kB / 4.259 GB, free: 51.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.851e-05/12.33, allocations: 19.7 kB / 4.259 GB, free: 51.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/12.33, allocations: 0.8851 MB / 4.26 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/12.33, allocations: 3.938 kB / 4.26 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00796/12.34, allocations: 1.698 MB / 4.261 GB, free: 48.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/12.34, allocations: 123 kB / 4.261 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/12.34, allocations: 20 kB / 4.262 GB, free: 48.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/12.34, allocations: 60.45 kB / 4.262 GB, free: 48.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/12.34, allocations: 46.66 kB / 4.262 GB, free: 48.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/12.34, allocations: 31.73 kB / 4.262 GB, free: 48.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003249/12.34, allocations: 222.8 kB / 4.262 GB, free: 48.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/12.34, allocations: 0 / 4.262 GB, free: 48.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002217/12.34, allocations: 0.5414 MB / 4.262 GB, free: 47.88 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 () * Number of clocked 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.002941/12.34, allocations: 1.189 MB / 4.264 GB, free: 46.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003053/12.35, allocations: 0.9978 MB / 4.265 GB, free: 46.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/12.35, allocations: 0 / 4.265 GB, free: 46.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/12.35, allocations: 431.1 kB / 4.265 GB, free: 45.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/12.35, allocations: 286.7 kB / 4.265 GB, free: 45.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/12.35, allocations: 1.597 MB / 4.267 GB, free: 44.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/12.35, allocations: 0.8542 MB / 4.268 GB, free: 43.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/12.35, allocations: 61.62 kB / 4.268 GB, free: 43.22 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/12.35, allocations: 4 kB / 4.268 GB, free: 43.21 MB / 426.7 MB Notification: Performance of Templates: time 0.03578/12.39, allocations: 20.51 MB / 4.288 GB, free: 22.81 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