Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 200.1 kB / 18.1 MB, free: 3.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007766/0.0007768, allocations: 103.6 kB / 297.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4027/0.4027, allocations: 44.83 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.000318, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4628, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.683/9.146, allocations: 3.556 GB / 4.075 GB, free: 47.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/9.146, allocations: 102.9 kB / 4.075 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.692/10.84, allocations: 406.1 MB / 4.471 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.364e-06/10.84, allocations: 0 / 4.471 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001132/10.84, allocations: 20.22 kB / 4.471 GB, free: 47.34 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.01036/10.85, allocations: 2.312 MB / 4.474 GB, free: 44.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/10.85, allocations: 8.031 kB / 4.474 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/10.85, allocations: 115.7 kB / 4.474 GB, free: 44.85 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/10.85, allocations: 0.6435 MB / 4.474 GB, free: 44.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/10.85, allocations: 126.9 kB / 4.474 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000412/10.85, allocations: 67.98 kB / 4.474 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/10.86, allocations: 1.148 MB / 4.476 GB, free: 42.76 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-05/10.86, allocations: 11.92 kB / 4.476 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/10.86, allocations: 31.98 kB / 4.476 GB, free: 42.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.68e-05/10.86, allocations: 57.97 kB / 4.476 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/10.86, allocations: 1.136 MB / 4.477 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008852/10.87, allocations: 4.649 MB / 4.481 GB, free: 36.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/10.87, allocations: 0.8012 MB / 4.482 GB, free: 35.79 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/10.87, allocations: 434 kB / 4.483 GB, free: 35.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/10.87, allocations: 1.626 MB / 4.484 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/10.87, allocations: 47.11 kB / 4.484 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.747e-06/10.87, allocations: 0 / 4.484 GB, free: 33.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.01261/10.88, allocations: 4.281 MB / 4.488 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/10.88, allocations: 119.5 kB / 4.488 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/10.89, allocations: 0.6524 MB / 4.489 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/10.89, allocations: 41.7 kB / 4.489 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/10.89, allocations: 387.5 kB / 4.49 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/10.89, allocations: 291.9 kB / 4.49 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.954e-05/10.89, allocations: 20 kB / 4.49 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001158/10.89, allocations: 390.7 kB / 4.49 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008201/10.89, allocations: 489.7 kB / 4.491 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/10.89, allocations: 0.7562 MB / 4.491 GB, free: 25.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/10.89, allocations: 1.269 MB / 4.493 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/10.89, allocations: 0 / 4.493 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002932/10.89, allocations: 1.674 MB / 4.494 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/10.89, allocations: 8 kB / 4.494 GB, free: 22.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/10.89, allocations: 8 kB / 4.494 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006614/10.9, allocations: 1.425 MB / 4.496 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/10.9, allocations: 155.8 kB / 4.496 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/10.9, allocations: 1.544 MB / 4.497 GB, free: 19.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/10.9, allocations: 103.8 kB / 4.497 GB, free: 19.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/10.9, allocations: 51.98 kB / 4.497 GB, free: 19.32 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.0006718/10.9, allocations: 297.6 kB / 4.498 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/10.91, allocations: 83.06 kB / 4.498 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/10.91, allocations: 1.68 MB / 4.499 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/10.91, allocations: 19.92 kB / 4.499 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/10.91, allocations: 0 / 4.499 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/10.91, allocations: 3.984 kB / 4.499 GB, free: 17.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004034/10.91, allocations: 2.629 MB / 4.502 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/10.91, allocations: 0 / 4.502 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/10.91, allocations: 263.9 kB / 4.502 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/10.91, allocations: 396.3 kB / 4.503 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-05/10.92, allocations: 31.97 kB / 4.503 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/10.92, allocations: 2.272 MB / 4.505 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/10.92, allocations: 7.969 kB / 4.505 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/10.92, allocations: 2.032 MB / 4.507 GB, free: 9.289 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009124/10.92, allocations: 287.9 kB / 4.507 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/10.92, allocations: 23.98 kB / 4.507 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/10.92, allocations: 79.88 kB / 4.507 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/10.92, allocations: 60.86 kB / 4.507 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/10.92, allocations: 43.97 kB / 4.507 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007785/10.92, allocations: 490.9 kB / 4.508 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/10.92, allocations: 0 / 4.508 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004001/10.93, allocations: 0.8039 MB / 4.509 GB, free: 7.504 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.003638/10.93, allocations: 1.516 MB / 4.51 GB, free: 6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002556/10.93, allocations: 1.233 MB / 4.511 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/10.93, allocations: 0 / 4.511 GB, free: 4.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/10.94, allocations: 0.7088 MB / 4.512 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/10.94, allocations: 476.9 kB / 4.512 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/10.94, allocations: 2.523 MB / 4.515 GB, free: 1.039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/10.94, allocations: 1.047 MB / 4.516 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001258/10.94, allocations: 355.3 kB / 4.516 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/10.94, allocations: 87.41 kB / 4.516 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/10.94, allocations: 0 / 4.516 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of Templates: time 0.4111/11.36, allocations: 41.66 MB / 4.557 GB, free: 78.59 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches