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.001065/0.001065, allocations: 183.6 kB / 15.76 MB, free: 6.367 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.72/1.72, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001012/0.001012, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2303/0.2303, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 12 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 58.86 MB / 490.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.498/8.646, allocations: 3.614 GB / 4.093 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/8.646, allocations: 96.59 kB / 4.093 GB, free: 67.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.695/10.34, allocations: 434 MB / 4.517 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.126e-06/10.34, allocations: 4 kB / 4.517 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001112/10.34, allocations: 23.98 kB / 4.517 GB, free: 13.27 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.01094/10.35, allocations: 2.429 MB / 4.519 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/10.35, allocations: 8.031 kB / 4.519 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/10.35, allocations: 114.8 kB / 4.519 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/10.36, allocations: 0.6231 MB / 4.52 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/10.36, allocations: 133.4 kB / 4.52 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003046/10.36, allocations: 64 kB / 4.52 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/10.36, allocations: 1.156 MB / 4.521 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/10.36, allocations: 4 kB / 4.521 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/10.36, allocations: 28 kB / 4.521 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/10.36, allocations: 61.91 kB / 4.521 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/10.36, allocations: 1.144 MB / 4.523 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006918/10.37, allocations: 4.684 MB / 4.527 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/10.37, allocations: 0.8128 MB / 4.528 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/10.37, allocations: 1.571 MB / 4.529 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/10.37, allocations: 51.05 kB / 4.53 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 3.206e-06/10.37, allocations: 0 / 4.53 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.01635/10.39, allocations: 4.283 MB / 4.534 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/10.39, allocations: 115.5 kB / 4.534 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/10.39, allocations: 0.5891 MB / 4.534 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001904/10.39, allocations: 45.7 kB / 4.534 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/10.39, allocations: 383.5 kB / 4.535 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/10.39, allocations: 291.9 kB / 4.535 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/10.39, allocations: 20 kB / 4.535 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002672/10.39, allocations: 386.8 kB / 4.535 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/10.39, allocations: 493.7 kB / 4.536 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/10.39, allocations: 0.7484 MB / 4.537 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/10.39, allocations: 0.5885 MB / 4.537 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/10.39, allocations: 0 / 4.537 GB, free: 7.457 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003867/10.4, allocations: 1.676 MB / 4.539 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/10.4, allocations: 8 kB / 4.539 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/10.4, allocations: 8 kB / 4.539 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008448/10.41, allocations: 1.448 MB / 4.54 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/10.41, allocations: 155.7 kB / 4.54 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/10.41, allocations: 1.545 MB / 4.542 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/10.41, allocations: 91.84 kB / 4.542 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/10.41, allocations: 59.97 kB / 4.542 GB, free: 2.426 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 () * Number of clocked 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.0009405/10.41, allocations: 297.5 kB / 4.542 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003729/10.41, allocations: 83.02 kB / 4.542 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/10.42, allocations: 1.65 MB / 4.544 GB, free: 368 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/10.42, allocations: 8 kB / 4.544 GB, free: 360 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/10.42, allocations: 3.984 kB / 4.544 GB, free: 356 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/10.42, allocations: 3.984 kB / 4.544 GB, free: 352 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4229/10.84, allocations: 2.522 MB / 4.547 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/10.84, allocations: 0 / 4.547 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/10.84, allocations: 264.5 kB / 4.547 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/10.84, allocations: 401.6 kB / 4.547 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/10.84, allocations: 32.81 kB / 4.547 GB, free: 63.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/10.85, allocations: 2.269 MB / 4.549 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/10.85, allocations: 8.656 kB / 4.549 GB, free: 62 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/10.85, allocations: 2.097 MB / 4.552 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/10.85, allocations: 296.5 kB / 4.552 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/10.85, allocations: 23.38 kB / 4.552 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008517/10.85, allocations: 80.08 kB / 4.552 GB, free: 61.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/10.85, allocations: 57.02 kB / 4.552 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/10.85, allocations: 57.95 kB / 4.552 GB, free: 61.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006978/10.85, allocations: 481.6 kB / 4.552 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/10.85, allocations: 1.531 kB / 4.552 GB, free: 61.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003829/10.86, allocations: 0.8353 MB / 4.553 GB, free: 61.51 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 () * Number of clocked 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.00396/10.86, allocations: 1.626 MB / 4.555 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003157/10.86, allocations: 1.245 MB / 4.556 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/10.86, allocations: 4.188 kB / 4.556 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/10.87, allocations: 0.7002 MB / 4.557 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/10.87, allocations: 456.4 kB / 4.557 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006074/10.87, allocations: 2.506 MB / 4.56 GB, free: 60.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/10.87, allocations: 1.064 MB / 4.561 GB, free: 59.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001834/10.88, allocations: 305.4 kB / 4.561 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005854/10.88, allocations: 102.3 kB / 4.561 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of SimCode: time 2.074e-06/10.88, allocations: 0.9062 kB / 4.561 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.07063/10.95, allocations: 42.12 MB / 4.602 GB, free: 58.25 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