Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009752/0.0009752, allocations: 183.4 kB / 13.19 MB, free: 2.129 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.32/1.32, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008518/0.0008518, allocations: 92.45 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.332/0.332, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.167e-05, allocations: 7.938 kB / 425.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 58.84 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.237/7.352, allocations: 3.614 GB / 4.087 GB, free: 72.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/7.353, allocations: 91.23 kB / 4.087 GB, free: 72.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.332/8.685, allocations: 433.2 MB / 4.51 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.21e-07/8.685, allocations: 0 / 4.51 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.299e-05/8.685, allocations: 24.16 kB / 4.51 GB, free: 20.57 MB / 0.4948 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.005784/8.691, allocations: 2.343 MB / 4.512 GB, free: 18.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/8.691, allocations: 19.97 kB / 4.512 GB, free: 18.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/8.691, allocations: 106.9 kB / 4.513 GB, free: 18.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/8.692, allocations: 0.6231 MB / 4.513 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/8.692, allocations: 121.4 kB / 4.513 GB, free: 17.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/8.692, allocations: 68 kB / 4.513 GB, free: 17.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/8.694, allocations: 1.138 MB / 4.514 GB, free: 16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/8.694, allocations: 4 kB / 4.514 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/8.694, allocations: 35.98 kB / 4.514 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/8.694, allocations: 53.97 kB / 4.515 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/8.695, allocations: 1.128 MB / 4.516 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/8.7, allocations: 4.675 MB / 4.52 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/8.701, allocations: 0.8102 MB / 4.521 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/8.701, allocations: 410.4 kB / 4.521 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008681/8.702, allocations: 1.567 MB / 4.523 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/8.702, allocations: 47.12 kB / 4.523 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 2.615e-06/8.702, allocations: 0 / 4.523 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.009921/8.712, allocations: 3.652 MB / 4.527 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/8.712, allocations: 111.6 kB / 4.527 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/8.713, allocations: 0.5853 MB / 4.527 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.613e-05/8.713, allocations: 41.7 kB / 4.527 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/8.713, allocations: 379.6 kB / 4.528 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/8.713, allocations: 291.8 kB / 4.528 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/8.713, allocations: 20 kB / 4.528 GB, free: 1.488 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/8.714, allocations: 394.7 kB / 4.528 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/8.714, allocations: 445.8 kB / 4.529 GB, free: 0.6602 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/8.715, allocations: 0.6988 MB / 4.529 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/8.716, allocations: 0.5408 MB / 4.53 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/8.716, allocations: 4 kB / 4.53 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002374/8.718, allocations: 1.542 MB / 4.531 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/8.718, allocations: 8 kB / 4.531 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/8.718, allocations: 8 kB / 4.531 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/8.724, allocations: 1.351 MB / 4.533 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/8.725, allocations: 167.7 kB / 4.533 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/8.727, allocations: 1.412 MB / 4.534 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009572/8.728, allocations: 99.83 kB / 4.534 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/8.728, allocations: 59.97 kB / 4.534 GB, free: 10.62 MB / 0.5105 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.0002449/8.728, allocations: 165.4 kB / 4.535 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/8.728, allocations: 87.02 kB / 4.535 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/8.731, allocations: 1.52 MB / 4.536 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/8.731, allocations: 8 kB / 4.536 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/8.731, allocations: 4 kB / 4.536 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/8.731, allocations: 3.984 kB / 4.536 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/8.734, allocations: 2.403 MB / 4.539 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/8.734, allocations: 0 / 4.539 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/8.736, allocations: 263.7 kB / 4.539 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/8.737, allocations: 308.5 kB / 4.539 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/8.737, allocations: 43.94 kB / 4.539 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/8.739, allocations: 2.163 MB / 4.541 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/8.739, allocations: 4.031 kB / 4.541 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002523/8.741, allocations: 1.893 MB / 4.543 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/8.742, allocations: 299.8 kB / 4.543 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/8.742, allocations: 23.98 kB / 4.543 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/8.743, allocations: 71.94 kB / 4.543 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/8.743, allocations: 60.64 kB / 4.544 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/8.743, allocations: 55.95 kB / 4.544 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005409/8.743, allocations: 479.1 kB / 4.544 GB, free: 460 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/8.743, allocations: 0 / 4.544 GB, free: 460 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.252/8.995, allocations: 0.8317 MB / 4.545 GB, free: 59.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (82): * Single equations (assignments): 78 * 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.003445/8.999, allocations: 1.621 MB / 4.546 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002135/9.001, allocations: 1.145 MB / 4.548 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/9.001, allocations: 1.812 kB / 4.548 GB, free: 59.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/9.003, allocations: 0.6541 MB / 4.548 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002177/9.005, allocations: 464.7 kB / 4.549 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/9.008, allocations: 1.669 MB / 4.55 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/9.009, allocations: 1.063 MB / 4.551 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001046/9.01, allocations: 298.1 kB / 4.552 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/9.01, allocations: 105.3 kB / 4.552 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/9.01, allocations: 2.531 kB / 4.552 GB, free: 58.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.0537/9.064, allocations: 44.84 MB / 4.595 GB, free: 57.23 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches