Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009308/0.0009309, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.000861, allocations: 101.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1971/0.1971, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.238e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.555/7.689, allocations: 3.555 GB / 4.057 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/7.689, allocations: 91.94 kB / 4.057 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.391/9.08, allocations: 413.4 MB / 4.46 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/9.08, allocations: 0 / 4.46 GB, free: 30.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.992e-05/9.08, allocations: 32.27 kB / 4.46 GB, free: 30.79 MB / 0.5261 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.006502/9.087, allocations: 2.215 MB / 4.463 GB, free: 28.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/9.087, allocations: 16.02 kB / 4.463 GB, free: 28.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000596/9.088, allocations: 98.97 kB / 4.463 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/9.089, allocations: 0.6348 MB / 4.463 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/9.089, allocations: 125.3 kB / 4.463 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/9.089, allocations: 67.98 kB / 4.464 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/9.091, allocations: 1.137 MB / 4.465 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/9.091, allocations: 0 / 4.465 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/9.091, allocations: 31.98 kB / 4.465 GB, free: 26.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/9.091, allocations: 53.97 kB / 4.465 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/9.093, allocations: 1.113 MB / 4.466 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005372/9.098, allocations: 4.677 MB / 4.47 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/9.099, allocations: 0.7929 MB / 4.471 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/9.1, allocations: 410.3 kB / 4.472 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000895/9.101, allocations: 1.634 MB / 4.473 GB, free: 17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/9.101, allocations: 51.12 kB / 4.473 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/9.101, allocations: 0 / 4.473 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.0104/9.111, allocations: 3.624 MB / 4.477 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/9.111, allocations: 119.5 kB / 4.477 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007792/9.112, allocations: 0.5814 MB / 4.477 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/9.112, allocations: 41.7 kB / 4.477 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/9.113, allocations: 383.5 kB / 4.478 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/9.113, allocations: 291.8 kB / 4.478 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/9.113, allocations: 20 kB / 4.478 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001051/9.113, allocations: 390.8 kB / 4.479 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/9.114, allocations: 441.8 kB / 4.479 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/9.114, allocations: 0.7012 MB / 4.48 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/9.115, allocations: 0.5408 MB / 4.48 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/9.115, allocations: 3.938 kB / 4.48 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002078/9.117, allocations: 1.531 MB / 4.482 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/9.117, allocations: 11.98 kB / 4.482 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/9.117, allocations: 8 kB / 4.482 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006228/9.123, allocations: 1.343 MB / 4.483 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/9.124, allocations: 151.7 kB / 4.483 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/9.125, allocations: 1.416 MB / 4.484 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/9.127, allocations: 87.89 kB / 4.485 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/9.127, allocations: 59.97 kB / 4.485 GB, free: 4.969 MB / 0.5261 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.0002734/9.127, allocations: 168.6 kB / 4.485 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/9.127, allocations: 79.06 kB / 4.485 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/9.13, allocations: 1.547 MB / 4.486 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/9.13, allocations: 15.98 kB / 4.486 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/9.13, allocations: 0 / 4.486 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/9.13, allocations: 3.984 kB / 4.486 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/9.133, allocations: 2.499 MB / 4.489 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/9.133, allocations: 4 kB / 4.489 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/9.134, allocations: 255.7 kB / 4.489 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3036/9.438, allocations: 308 kB / 4.489 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002686/9.438, allocations: 31.67 kB / 4.489 GB, free: 68.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/9.44, allocations: 2.16 MB / 4.492 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/9.44, allocations: 5.594 kB / 4.492 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/9.443, allocations: 1.93 MB / 4.493 GB, free: 66.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007187/9.444, allocations: 295.7 kB / 4.494 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/9.444, allocations: 23.53 kB / 4.494 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000858/9.445, allocations: 72.92 kB / 4.494 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/9.445, allocations: 63.95 kB / 4.494 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/9.445, allocations: 52.16 kB / 4.494 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006695/9.446, allocations: 481.7 kB / 4.494 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/9.446, allocations: 0 / 4.494 GB, free: 65.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003235/9.449, allocations: 0.7811 MB / 4.495 GB, free: 65.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.003262/9.453, allocations: 1.487 MB / 4.497 GB, free: 65.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002208/9.455, allocations: 1.149 MB / 4.498 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/9.455, allocations: 4.75 kB / 4.498 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/9.456, allocations: 0.6477 MB / 4.498 GB, free: 65.78 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/9.459, allocations: 464.8 kB / 4.499 GB, free: 65.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/9.462, allocations: 1.679 MB / 4.5 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005213/9.463, allocations: 1.06 MB / 4.501 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001065/9.464, allocations: 342.3 kB / 4.502 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/9.464, allocations: 90.77 kB / 4.502 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/9.464, allocations: 0 / 4.502 GB, free: 64.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.06935/9.533, allocations: 43.42 MB / 4.544 GB, free: 63.56 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches