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.001129/0.001129, allocations: 177 kB / 17.06 MB, free: 5.098 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.335/1.335, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.0008911, allocations: 84.7 kB / 292.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4189/0.4189, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 8 kB / 459.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4153, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.327/8.743, allocations: 3.555 GB / 4.065 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/8.743, allocations: 106.8 kB / 4.065 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.475/10.22, allocations: 414.1 MB / 4.469 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.222e-06/10.22, allocations: 0 / 4.469 GB, free: 65.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.661e-05/10.22, allocations: 32.11 kB / 4.469 GB, free: 65.19 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.008254/10.23, allocations: 2.301 MB / 4.471 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/10.23, allocations: 8.031 kB / 4.471 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000745/10.23, allocations: 110.9 kB / 4.471 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/10.23, allocations: 0.6271 MB / 4.472 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/10.23, allocations: 121.3 kB / 4.472 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002057/10.23, allocations: 71.91 kB / 4.472 GB, free: 61.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/10.23, allocations: 1.157 MB / 4.473 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/10.23, allocations: 0 / 4.473 GB, free: 60.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/10.23, allocations: 35.98 kB / 4.473 GB, free: 60.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/10.23, allocations: 49.98 kB / 4.473 GB, free: 60.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/10.23, allocations: 1.14 MB / 4.475 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/10.24, allocations: 4.679 MB / 4.479 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/10.24, allocations: 0.8083 MB / 4.48 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/10.24, allocations: 1.63 MB / 4.482 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/10.24, allocations: 51.08 kB / 4.482 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.457e-06/10.24, allocations: 0 / 4.482 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01304/10.25, allocations: 4.27 MB / 4.486 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/10.25, allocations: 119.4 kB / 4.486 GB, free: 47.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007658/10.25, allocations: 0.5813 MB / 4.486 GB, free: 46.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/10.25, allocations: 41.7 kB / 4.486 GB, free: 46.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/10.25, allocations: 383.6 kB / 4.487 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/10.25, allocations: 291.8 kB / 4.487 GB, free: 45.81 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.344e-05/10.26, allocations: 20 kB / 4.487 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001028/10.26, allocations: 398.7 kB / 4.488 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007892/10.26, allocations: 489.7 kB / 4.488 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009345/10.26, allocations: 0.7445 MB / 4.489 GB, free: 44.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/10.26, allocations: 0.5768 MB / 4.489 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/10.26, allocations: 4 kB / 4.489 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002879/10.26, allocations: 1.678 MB / 4.491 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/10.26, allocations: 8 kB / 4.491 GB, free: 41.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/10.26, allocations: 8 kB / 4.491 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007265/10.27, allocations: 1.421 MB / 4.492 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/10.27, allocations: 159.7 kB / 4.492 GB, free: 40.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/10.27, allocations: 1.542 MB / 4.494 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/10.27, allocations: 95.78 kB / 4.494 GB, free: 38.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/10.27, allocations: 55.97 kB / 4.494 GB, free: 38.47 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 () * 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.000548/10.27, allocations: 293.5 kB / 4.494 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/10.27, allocations: 87.06 kB / 4.494 GB, free: 38.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/10.28, allocations: 1.688 MB / 4.496 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/10.28, allocations: 15.98 kB / 4.496 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/10.28, allocations: 0 / 4.496 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/10.28, allocations: 3.984 kB / 4.496 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003805/10.28, allocations: 2.633 MB / 4.499 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/10.28, allocations: 7.984 kB / 4.499 GB, free: 33.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/10.28, allocations: 263.9 kB / 4.499 GB, free: 33.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/10.28, allocations: 388.4 kB / 4.499 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-05/10.28, allocations: 31.98 kB / 4.499 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001913/10.28, allocations: 2.288 MB / 4.502 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/10.28, allocations: 7.969 kB / 4.502 GB, free: 30.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/10.29, allocations: 2.093 MB / 4.504 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006463/10.29, allocations: 299.8 kB / 4.504 GB, free: 28.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/10.29, allocations: 23.98 kB / 4.504 GB, free: 27.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/10.29, allocations: 71.94 kB / 4.504 GB, free: 27.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/10.29, allocations: 60.92 kB / 4.504 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/10.29, allocations: 51.95 kB / 4.504 GB, free: 27.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000648/10.29, allocations: 487 kB / 4.505 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/10.29, allocations: 0 / 4.505 GB, free: 27.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00317/10.29, allocations: 0.7804 MB / 4.505 GB, free: 26.56 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 () * 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.002881/10.3, allocations: 1.493 MB / 4.507 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002312/10.3, allocations: 1.24 MB / 4.508 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/10.3, allocations: 0 / 4.508 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/10.3, allocations: 0.6978 MB / 4.509 GB, free: 23.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/10.3, allocations: 459.7 kB / 4.509 GB, free: 22.69 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/10.31, allocations: 2.513 MB / 4.512 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/10.31, allocations: 1.062 MB / 4.513 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001031/10.31, allocations: 347.5 kB / 4.513 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/10.31, allocations: 87.41 kB / 4.513 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/10.31, allocations: 0 / 4.513 GB, free: 18.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.3811/10.69, allocations: 40.79 MB / 4.553 GB, free: 87.4 MB / 0.5417 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