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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 95.31 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9914/0.9914, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1345/0.1345, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|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=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.109e-05, allocations: 6.25 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3193/0.3193, allocations: 149.3 MB / 497 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.3263, allocations: 5.348 MB / 0.4905 GB, free: 5.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.327, allocations: 31.19 kB / 0.4906 GB, free: 5.816 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008027/0.3278, allocations: 248.2 kB / 0.4908 GB, free: 5.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.3317, allocations: 1.795 MB / 0.4925 GB, free: 4.402 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3334, allocations: 1.033 MB / 0.4936 GB, free: 3.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.3351, allocations: 2.277 MB / 0.4958 GB, free: 2.293 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007326/0.3359, allocations: 0.5538 MB / 0.4963 GB, free: 1.875 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.3374, allocations: 1.29 MB / 0.4976 GB, free: 1.113 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.3384, allocations: 0.8527 MB / 0.4984 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3385, allocations: 94.19 kB / 0.4985 GB, free: 0.6562 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.3404, allocations: 1.446 MB / 0.4999 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.3408, allocations: 470.8 kB / 0.5004 GB, free: 15.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004551/0.3412, allocations: 407.2 kB / 0.5008 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.3436, allocations: 1.866 MB / 0.5026 GB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3436, allocations: 0 / 0.5026 GB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3436, allocations: 0 / 0.5026 GB, free: 13.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.537e-05/0.3436, allocations: 0 / 0.5026 GB, free: 13.2 MB / 378.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.002158/0.3458, allocations: 1.512 MB / 0.5041 GB, free: 11.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3458, allocations: 12.03 kB / 0.5041 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/0.3462, allocations: 196 kB / 0.5043 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.3468, allocations: 0.5672 MB / 0.5048 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.347, allocations: 168.8 kB / 0.505 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3471, allocations: 83.92 kB / 0.505 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.3482, allocations: 1.25 MB / 0.5063 GB, free: 9.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3482, allocations: 4 kB / 0.5063 GB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.3483, allocations: 31.98 kB / 0.5063 GB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/0.3483, allocations: 69.91 kB / 0.5064 GB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.3491, allocations: 0.5501 MB / 0.5069 GB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.3528, allocations: 3.715 MB / 0.5105 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009024/0.3537, allocations: 494.7 kB / 0.511 GB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.3539, allocations: 193.5 kB / 0.5112 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00038/0.3543, allocations: 226.1 kB / 0.5114 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.3543, allocations: 50.03 kB / 0.5115 GB, free: 3.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 1.834e-06/0.3543, allocations: 0 / 0.5115 GB, free: 3.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=82): time 0.004693/0.359, allocations: 2.394 MB / 0.5138 GB, free: 1.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3591, allocations: 115.4 kB / 0.5139 GB, free: 1.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.3595, allocations: 0.5414 MB / 0.5144 GB, free: 0.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.3596, allocations: 41.7 kB / 0.5145 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3598, allocations: 459.1 kB / 0.5149 GB, free: 80 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.36, allocations: 301.6 kB / 0.5152 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.3602, allocations: 204.2 kB / 0.5154 GB, free: 15.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3604, allocations: 0.5586 MB / 0.5159 GB, free: 15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.3607, allocations: 189.9 kB / 0.5161 GB, free: 14.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.3613, allocations: 0.6158 MB / 0.5167 GB, free: 14.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008165/0.3621, allocations: 0.8116 MB / 0.5175 GB, free: 13.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.3621, allocations: 0 / 0.5175 GB, free: 13.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001299/0.3634, allocations: 0.9735 MB / 0.5185 GB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.3634, allocations: 16 kB / 0.5185 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3634, allocations: 8 kB / 0.5185 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/0.3661, allocations: 0.9858 MB / 0.5194 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.3664, allocations: 155.8 kB / 0.5196 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009806/0.3674, allocations: 1.195 MB / 0.5208 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.3677, allocations: 43.98 kB / 0.5208 GB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.3678, allocations: 59.97 kB / 0.5209 GB, free: 9.598 MB / 394.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.0002065/0.368, allocations: 220.3 kB / 0.5211 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.3682, allocations: 111.5 kB / 0.5212 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.3695, allocations: 1.039 MB / 0.5222 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.3695, allocations: 11.98 kB / 0.5222 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3695, allocations: 4 kB / 0.5222 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3696, allocations: 3.984 kB / 0.5222 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3713, allocations: 1.562 MB / 0.5237 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.3713, allocations: 4 kB / 0.5237 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.372, allocations: 251.9 kB / 0.524 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006425/0.3726, allocations: 251.3 kB / 0.5242 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.3727, allocations: 27.98 kB / 0.5242 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.3739, allocations: 2.699 MB / 0.5269 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3739, allocations: 0 / 0.5269 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.3752, allocations: 1.087 MB / 0.5279 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.3755, allocations: 191.3 kB / 0.5281 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.3756, allocations: 23.94 kB / 0.5282 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.3759, allocations: 39.97 kB / 0.5282 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.376, allocations: 72.41 kB / 0.5283 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.3761, allocations: 47.97 kB / 0.5283 GB, free: 1.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002453/0.3763, allocations: 354.8 kB / 0.5286 GB, free: 1.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3763, allocations: 4 kB / 0.5286 GB, free: 1.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009588/0.3773, allocations: 487.1 kB / 0.5291 GB, free: 0.8477 MB / 394.7 MB 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 (80): * Single equations (assignments): 76 * 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.0009033/0.3782, allocations: 0.5365 MB / 0.5296 GB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000998/0.3792, allocations: 0.6886 MB / 0.5303 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3792, allocations: 0 / 0.5303 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006916/0.3799, allocations: 430.7 kB / 0.5307 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.3809, allocations: 453.9 kB / 0.5312 GB, free: 14.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.3835, allocations: 1.708 MB / 0.5328 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.3836, allocations: 225.8 kB / 0.533 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004655/0.3841, allocations: 250.7 kB / 0.5333 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.3843, allocations: 84.48 kB / 0.5334 GB, free: 12.42 MB / 410.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3843, allocations: 3.938 kB / 0.5334 GB, free: 12.42 MB / 410.7 MB Notification: Performance of Templates: time 0.0258/0.4101, allocations: 25.62 MB / 0.5584 GB, free: 2.879 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] 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","",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.276772100012749]