Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002071/0.00207, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 93.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3629/0.3629, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.077e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4085, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.52/10.93, allocations: 3.614 GB / 4.079 GB, free: 140.1 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/10.93, allocations: 91.92 kB / 4.08 GB, free: 140.1 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.418/13.35, allocations: 429.1 MB / 4.499 GB, free: 59.89 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.044e-06/13.35, allocations: 0 / 4.499 GB, free: 59.89 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 9.428e-05/13.35, allocations: 22.38 kB / 4.499 GB, free: 59.88 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01013/13.36, allocations: 2.343 MB / 4.501 GB, free: 58.77 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/13.36, allocations: 7.375 kB / 4.501 GB, free: 58.77 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/13.36, allocations: 107.4 kB / 4.501 GB, free: 58.73 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/13.36, allocations: 0.6308 MB / 4.502 GB, free: 58.46 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/13.36, allocations: 97.7 kB / 4.502 GB, free: 58.39 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/13.36, allocations: 42.03 kB / 4.502 GB, free: 58.39 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002796/13.36, allocations: 1.027 MB / 4.503 GB, free: 58.39 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/13.36, allocations: 1.026 MB / 4.504 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/13.36, allocations: 6.594 kB / 4.504 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/13.36, allocations: 11.5 kB / 4.504 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/13.37, allocations: 53.31 kB / 4.504 GB, free: 58.2 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/13.38, allocations: 5.023 MB / 4.509 GB, free: 55.4 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/13.38, allocations: 0.6967 MB / 4.509 GB, free: 55.37 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/13.38, allocations: 359.7 kB / 4.51 GB, free: 55.36 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/13.38, allocations: 1.06 MB / 4.511 GB, free: 54.24 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/13.38, allocations: 50.91 kB / 4.511 GB, free: 54.2 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=64): time 3.717e-06/13.38, allocations: 0 / 4.511 GB, free: 54.2 MB / 0.4952 GB Notification: Performance of matching and sorting (n=76): time 0.02358/13.4, allocations: 3.812 MB / 4.515 GB, free: 53.75 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/13.4, allocations: 112.5 kB / 4.515 GB, free: 53.62 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/13.4, allocations: 481.6 kB / 4.515 GB, free: 53.5 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0001957/13.4, allocations: 25.7 kB / 4.515 GB, free: 53.46 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/13.41, allocations: 454.1 kB / 4.516 GB, free: 53.16 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/13.41, allocations: 266.1 kB / 4.516 GB, free: 52.99 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/13.41, allocations: 6.484 kB / 4.516 GB, free: 52.99 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/13.41, allocations: 353.2 kB / 4.516 GB, free: 52.67 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009483/13.41, allocations: 426.2 kB / 4.517 GB, free: 52.67 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/13.41, allocations: 0.6837 MB / 4.517 GB, free: 52.38 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002977/13.41, allocations: 0.7294 MB / 4.518 GB, free: 52.37 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/13.41, allocations: 2.844 kB / 4.518 GB, free: 52.37 MB / 0.4952 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005092/13.42, allocations: 1.61 MB / 4.519 GB, free: 52.29 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/13.42, allocations: 6.469 kB / 4.519 GB, free: 52.29 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/13.42, allocations: 7.812 kB / 4.519 GB, free: 52.29 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009151/13.43, allocations: 1.064 MB / 4.521 GB, free: 52.28 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/13.43, allocations: 160.5 kB / 4.521 GB, free: 52.28 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/13.43, allocations: 1.519 MB / 4.522 GB, free: 51.74 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/13.43, allocations: 77.66 kB / 4.522 GB, free: 51.73 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/13.43, allocations: 58.16 kB / 4.522 GB, free: 51.73 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0003665/13.43, allocations: 130.5 kB / 4.522 GB, free: 51.62 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/13.43, allocations: 76.72 kB / 4.523 GB, free: 51.59 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/13.44, allocations: 1.48 MB / 4.524 GB, free: 51.46 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/13.44, allocations: 7.75 kB / 4.524 GB, free: 51.46 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/13.44, allocations: 3.953 kB / 4.524 GB, free: 51.46 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/13.44, allocations: 3.375 kB / 4.524 GB, free: 51.46 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007509/13.45, allocations: 2.754 MB / 4.527 GB, free: 50.79 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/13.45, allocations: 3.625 kB / 4.527 GB, free: 50.79 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002479/13.45, allocations: 258.9 kB / 4.527 GB, free: 50.79 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/13.45, allocations: 306.6 kB / 4.527 GB, free: 50.77 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/13.45, allocations: 30.38 kB / 4.527 GB, free: 50.77 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/13.45, allocations: 2.136 MB / 4.529 GB, free: 48.99 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/13.45, allocations: 4.531 kB / 4.529 GB, free: 48.99 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/13.46, allocations: 2.019 MB / 4.531 GB, free: 48.54 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008451/13.46, allocations: 280.9 kB / 4.532 GB, free: 48.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/13.46, allocations: 15.62 kB / 4.532 GB, free: 48.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/13.46, allocations: 57.62 kB / 4.532 GB, free: 48.39 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/13.46, allocations: 64 kB / 4.532 GB, free: 48.39 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/13.46, allocations: 49.55 kB / 4.532 GB, free: 48.39 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0006479/13.46, allocations: 366.5 kB / 4.532 GB, free: 48.31 MB / 0.4952 GB Notification: Performance of sort global known variables: time 5.61e-07/13.46, allocations: 3.844 kB / 4.532 GB, free: 48.31 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.00417/13.47, allocations: 0.7759 MB / 4.533 GB, free: 48.16 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.006036/13.47, allocations: 1.765 MB / 4.535 GB, free: 47.8 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.003234/13.48, allocations: 1.075 MB / 4.536 GB, free: 47.75 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/13.48, allocations: 0 / 4.536 GB, free: 47.75 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/13.48, allocations: 0.6062 MB / 4.536 GB, free: 47.73 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/13.48, allocations: 370.5 kB / 4.537 GB, free: 47.71 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006149/13.49, allocations: 1.686 MB / 4.538 GB, free: 47.27 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/13.49, allocations: 1.054 MB / 4.539 GB, free: 46.57 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006993/13.49, allocations: 103 kB / 4.539 GB, free: 46.56 MB / 0.4952 GB Notification: Performance of SimCode: time 1.694e-06/13.49, allocations: 0 / 4.539 GB, free: 46.56 MB / 0.4952 GB Notification: Performance of Templates: time 0.06222/13.55, allocations: 30.42 MB / 4.569 GB, free: 40.88 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches