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.001471/0.001471, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001617/0.001617, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.502/1.502, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.2251/0.2251, allocations: 44.27 MB / 330.3 MB, free: 9.316 MB / 270.1 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.1.|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.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002588/0.002588, allocations: 71.91 kB / 468 MB, free: 3.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1339, allocations: 61.05 MB / 0.5167 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5073/0.6412, allocations: 170.5 MB / 0.6832 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0156/0.6568, allocations: 9.425 MB / 0.6924 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009588/0.6577, allocations: 27.75 kB / 0.6924 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.6593, allocations: 421.5 kB / 0.6928 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00764/0.667, allocations: 2.626 MB / 0.6954 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00809/0.6751, allocations: 2.696 MB / 0.698 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003411/0.6785, allocations: 2.212 MB / 0.7002 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.6796, allocations: 0.5017 MB / 0.7007 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.6847, allocations: 2.009 MB / 0.7026 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.6865, allocations: 0.8994 MB / 0.7035 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003105/0.6868, allocations: 92 kB / 0.7036 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/0.6975, allocations: 4.749 MB / 0.7082 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008002/0.6983, allocations: 438.8 kB / 0.7087 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009662/0.6992, allocations: 462.2 kB / 0.7091 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009375/0.7086, allocations: 3.938 MB / 0.7129 GB, free: 8.922 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7086, allocations: 4 kB / 0.7129 GB, free: 8.918 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7086, allocations: 4 kB / 0.713 GB, free: 8.914 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.6e-05/0.7087, allocations: 0 / 0.713 GB, free: 8.914 MB / 0.545 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.005276/0.7139, allocations: 1.763 MB / 0.7147 GB, free: 7.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.714, allocations: 8.031 kB / 0.7147 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.7145, allocations: 111.4 kB / 0.7148 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.716, allocations: 0.5674 MB / 0.7153 GB, free: 6.402 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.7162, allocations: 168.8 kB / 0.7155 GB, free: 6.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.7163, allocations: 79.19 kB / 0.7156 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/0.7189, allocations: 1.593 MB / 0.7171 GB, free: 4.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.719, allocations: 7.922 kB / 0.7171 GB, free: 4.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.7191, allocations: 31.98 kB / 0.7172 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.121e-05/0.7192, allocations: 61.97 kB / 0.7172 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.7214, allocations: 1.163 MB / 0.7184 GB, free: 3.125 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007298/0.7287, allocations: 3.71 MB / 0.722 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.7305, allocations: 0.7838 MB / 0.7228 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/0.7312, allocations: 410.5 kB / 0.7231 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009459/0.7321, allocations: 326.3 kB / 0.7235 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.7322, allocations: 51.2 kB / 0.7235 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/0.7322, allocations: 0 / 0.7235 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.01379/0.746, allocations: 3.954 MB / 0.7274 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.7461, allocations: 111.5 kB / 0.7275 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.7468, allocations: 0.5455 MB / 0.728 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.7469, allocations: 41.7 kB / 0.728 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.7473, allocations: 404.3 kB / 0.7284 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.7476, allocations: 305.4 kB / 0.7287 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.7479, allocations: 202.5 kB / 0.7289 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.7481, allocations: 382.8 kB / 0.7293 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.7492, allocations: 493.7 kB / 0.7298 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.7506, allocations: 0.8064 MB / 0.7305 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.7531, allocations: 1.281 MB / 0.7318 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.7531, allocations: 7.938 kB / 0.7318 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003761/0.7569, allocations: 1.661 MB / 0.7334 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.7569, allocations: 8 kB / 0.7334 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7569, allocations: 8 kB / 0.7334 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007395/0.7643, allocations: 1.328 MB / 0.7347 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.7651, allocations: 163.7 kB / 0.7349 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/0.7682, allocations: 1.522 MB / 0.7364 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/0.7692, allocations: 55.95 kB / 0.7364 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/0.7694, allocations: 63.91 kB / 0.7365 GB, free: 88 kB / 0.5606 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 (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.0006631/0.77, allocations: 297.5 kB / 0.7368 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.7703, allocations: 75.53 kB / 0.7368 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.7741, allocations: 1.634 MB / 0.7384 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.7741, allocations: 15.98 kB / 0.7385 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7741, allocations: 0 / 0.7385 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.7741, allocations: 7.922 kB / 0.7385 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004994/0.7791, allocations: 2.282 MB / 0.7407 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/0.7791, allocations: 3.938 kB / 0.7407 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/0.7805, allocations: 262.8 kB / 0.7409 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.7823, allocations: 380.3 kB / 0.7413 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.7825, allocations: 31.98 kB / 0.7413 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.7855, allocations: 2.233 MB / 0.7435 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7855, allocations: 3.984 kB / 0.7435 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004435/0.7899, allocations: 2.012 MB / 0.7455 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007649/0.7907, allocations: 195.4 kB / 0.7457 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.791, allocations: 31.92 kB / 0.7457 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.792, allocations: 51.95 kB / 0.7458 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.7922, allocations: 68.88 kB / 0.7458 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.7923, allocations: 51.97 kB / 0.7459 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006117/0.7929, allocations: 386.8 kB / 0.7462 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7929, allocations: 0 / 0.7462 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002371/0.7953, allocations: 0.7091 MB / 0.7469 GB, free: 5.137 MB / 0.5762 GB 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 (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.002969/0.7983, allocations: 0.9191 MB / 0.7478 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.8013, allocations: 1.19 MB / 0.749 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.8013, allocations: 0 / 0.749 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.8032, allocations: 0.6898 MB / 0.7497 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.8055, allocations: 431.7 kB / 0.7501 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005305/0.8108, allocations: 2.158 MB / 0.7522 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.8113, allocations: 455.2 kB / 0.7526 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001049/0.8124, allocations: 282.7 kB / 0.7529 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.8127, allocations: 103.4 kB / 0.753 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of SimCode: time 8.12e-07/0.8127, allocations: 0 / 0.753 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of Templates: time 0.3271/1.14, allocations: 34.09 MB / 0.7863 GB, free: 208.4 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.655388787388802]