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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009936/0.0009936, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001643/0.001643, allocations: 161 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.013/1.013, allocations: 177 MB / 205.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3208/0.3208, allocations: 34.87 MB / 296.6 MB, free: 448 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.678e-05/3.876e-05, allocations: 2.312 kB / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3531/0.3531, allocations: 187.8 MB / 0.5533 GB, free: 5.988 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.008086/0.3612, allocations: 7.557 MB / 0.5607 GB, free: 15.18 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.3621, allocations: 27.75 kB / 0.5607 GB, free: 15.15 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.3633, allocations: 417.3 kB / 0.5611 GB, free: 14.74 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.3687, allocations: 2.452 MB / 0.5635 GB, free: 12.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004532/0.3732, allocations: 2.409 MB / 0.5659 GB, free: 9.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.3757, allocations: 2.238 MB / 0.568 GB, free: 7.613 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009274/0.3766, allocations: 0.5333 MB / 0.5686 GB, free: 7.066 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/0.38, allocations: 2.157 MB / 0.5707 GB, free: 4.902 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.3812, allocations: 0.8494 MB / 0.5715 GB, free: 4.051 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.3814, allocations: 92 kB / 0.5716 GB, free: 3.961 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00592/0.3873, allocations: 4.304 MB / 0.5758 GB, free: 15.65 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.3877, allocations: 466.8 kB / 0.5762 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004614/0.3882, allocations: 411.2 kB / 0.5766 GB, free: 14.79 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006968/0.3952, allocations: 3.642 MB / 0.5802 GB, free: 11.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3952, allocations: 0 / 0.5802 GB, free: 11.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3952, allocations: 0 / 0.5802 GB, free: 11.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.3952, allocations: 4 kB / 0.5802 GB, free: 11.13 MB / 458.7 MB 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.003668/0.3989, allocations: 1.805 MB / 0.582 GB, free: 9.285 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3989, allocations: 12.03 kB / 0.582 GB, free: 9.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005039/0.3994, allocations: 199 kB / 0.5822 GB, free: 9.078 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008305/0.4003, allocations: 0.5624 MB / 0.5827 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.4004, allocations: 164.8 kB / 0.5829 GB, free: 8.301 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.4005, allocations: 75.98 kB / 0.5829 GB, free: 8.227 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4018, allocations: 1.233 MB / 0.5841 GB, free: 6.816 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.4018, allocations: 3.938 kB / 0.5841 GB, free: 6.812 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.005e-05/0.4019, allocations: 35.98 kB / 0.5842 GB, free: 6.777 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.708e-05/0.4019, allocations: 57.97 kB / 0.5842 GB, free: 6.719 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008992/0.4028, allocations: 0.5336 MB / 0.5848 GB, free: 6.191 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004398/0.4072, allocations: 3.753 MB / 0.5884 GB, free: 2.336 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.4083, allocations: 497.6 kB / 0.5889 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.4086, allocations: 189.5 kB / 0.5891 GB, free: 1.656 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.4091, allocations: 216.5 kB / 0.5893 GB, free: 1.445 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.4091, allocations: 46.05 kB / 0.5893 GB, free: 1.391 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 3.326e-06/0.4091, allocations: 0 / 0.5893 GB, free: 1.391 MB / 458.7 MB Notification: Performance of matching and sorting (n=82): time 0.005823/0.4149, allocations: 2.398 MB / 0.5917 GB, free: 14.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.415, allocations: 111.5 kB / 0.5918 GB, free: 14.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/0.4155, allocations: 0.5414 MB / 0.5923 GB, free: 14.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.4155, allocations: 41.7 kB / 0.5923 GB, free: 14.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.4157, allocations: 463 kB / 0.5928 GB, free: 13.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.4159, allocations: 309.4 kB / 0.5931 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.4161, allocations: 204.2 kB / 0.5933 GB, free: 13.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.4163, allocations: 0.5547 MB / 0.5938 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/0.4167, allocations: 193.9 kB / 0.594 GB, free: 12.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.4172, allocations: 0.6158 MB / 0.5946 GB, free: 11.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.4181, allocations: 0.8116 MB / 0.5954 GB, free: 10.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4181, allocations: 0 / 0.5954 GB, free: 10.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001436/0.4195, allocations: 0.9848 MB / 0.5964 GB, free: 9.762 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.4195, allocations: 11.94 kB / 0.5964 GB, free: 9.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4195, allocations: 8 kB / 0.5964 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/0.4224, allocations: 0.9626 MB / 0.5973 GB, free: 8.785 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.4227, allocations: 155.7 kB / 0.5975 GB, free: 8.633 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4241, allocations: 1.199 MB / 0.5986 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.4245, allocations: 39.98 kB / 0.5987 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.4245, allocations: 59.98 kB / 0.5987 GB, free: 7.301 MB / 474.7 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.4248, allocations: 216.3 kB / 0.5989 GB, free: 7.078 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.425, allocations: 107.5 kB / 0.599 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.4265, allocations: 1.106 MB / 0.6001 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4265, allocations: 8 kB / 0.6001 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4265, allocations: 0 / 0.6001 GB, free: 5.855 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4265, allocations: 3.984 kB / 0.6001 GB, free: 5.852 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.4286, allocations: 1.602 MB / 0.6017 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.4286, allocations: 0 / 0.6017 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.4293, allocations: 255.9 kB / 0.6019 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006724/0.4299, allocations: 243.3 kB / 0.6022 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.43, allocations: 39.91 kB / 0.6022 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/0.4315, allocations: 2.703 MB / 0.6048 GB, free: 0.793 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.4315, allocations: 5.422 kB / 0.6049 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.433, allocations: 1.112 MB / 0.6059 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.4333, allocations: 187.4 kB / 0.6061 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.4334, allocations: 27.98 kB / 0.6061 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.4337, allocations: 43.91 kB / 0.6062 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4338, allocations: 68.81 kB / 0.6062 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.55e-05/0.4339, allocations: 47.91 kB / 0.6063 GB, free: 15.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002805/0.4342, allocations: 354.8 kB / 0.6066 GB, free: 14.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4342, allocations: 0 / 0.6066 GB, free: 14.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001445/0.4356, allocations: 0.6935 MB / 0.6073 GB, free: 14.22 MB / 490.7 MB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.4369, allocations: 0.8482 MB / 0.6081 GB, free: 13.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.438, allocations: 0.6866 MB / 0.6088 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.438, allocations: 3.938 kB / 0.6088 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.4387, allocations: 444.4 kB / 0.6092 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4398, allocations: 454 kB / 0.6097 GB, free: 11.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.4426, allocations: 1.729 MB / 0.6114 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.4428, allocations: 233.8 kB / 0.6116 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007259/0.4435, allocations: 312.7 kB / 0.6119 GB, free: 9.477 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.4437, allocations: 80.48 kB / 0.612 GB, free: 9.398 MB / 490.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4437, allocations: 11.94 kB / 0.612 GB, free: 9.387 MB / 490.7 MB Notification: Performance of Templates: time 0.1723/0.616, allocations: 31.5 MB / 0.6427 GB, free: 176.6 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.82380006602034]