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.001437/0.001437, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001506/0.001506, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.47/1.47, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.34/0.34, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 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.1.|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.1.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.356e-05, allocations: 4.844 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3946/0.3946, allocations: 168.6 MB / 0.5331 GB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4062, allocations: 6.813 MB / 0.5397 GB, free: 12.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.4071, allocations: 30.12 kB / 0.5397 GB, free: 12.35 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.4089, allocations: 418.2 kB / 0.5401 GB, free: 12.13 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008248/0.4171, allocations: 2.451 MB / 0.5425 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007449/0.4246, allocations: 2.414 MB / 0.5449 GB, free: 8.609 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003407/0.428, allocations: 2.233 MB / 0.5471 GB, free: 7.328 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.429, allocations: 0.5422 MB / 0.5476 GB, free: 6.918 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00497/0.434, allocations: 2.151 MB / 0.5497 GB, free: 5.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.4355, allocations: 0.8488 MB / 0.5505 GB, free: 5.145 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.4356, allocations: 97.62 kB / 0.5506 GB, free: 5.141 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.4471, allocations: 4.298 MB / 0.5548 GB, free: 1.262 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001106/0.4482, allocations: 466.8 kB / 0.5553 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.4492, allocations: 403.2 kB / 0.5557 GB, free: 420 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4616, allocations: 4.114 MB / 0.5597 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4616, allocations: 0 / 0.5597 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.542e-05/0.4617, allocations: 4 kB / 0.5597 GB, free: 12.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.4617, allocations: 0 / 0.5597 GB, free: 12.28 MB / 442.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.005092/0.4668, allocations: 1.689 MB / 0.5613 GB, free: 10.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4668, allocations: 8.031 kB / 0.5613 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006581/0.4675, allocations: 195 kB / 0.5615 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.4687, allocations: 0.5753 MB / 0.5621 GB, free: 9.754 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.4689, allocations: 179.9 kB / 0.5623 GB, free: 9.555 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.4691, allocations: 76 kB / 0.5623 GB, free: 9.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.4716, allocations: 1.568 MB / 0.5639 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.4716, allocations: 0 / 0.5639 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.4717, allocations: 31.98 kB / 0.5639 GB, free: 7.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.4718, allocations: 61.97 kB / 0.5639 GB, free: 7.668 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.474, allocations: 1.155 MB / 0.5651 GB, free: 6.512 MB / 442.7 MB 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.00755/0.4816, allocations: 3.686 MB / 0.5687 GB, free: 2.742 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.4835, allocations: 0.7858 MB / 0.5694 GB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007511/0.4843, allocations: 404.4 kB / 0.5698 GB, free: 1.559 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/0.485, allocations: 220.5 kB / 0.57 GB, free: 1.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.4851, allocations: 39.22 kB / 0.5701 GB, free: 1.297 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 2.334e-06/0.4851, allocations: 0 / 0.5701 GB, free: 1.297 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.01549/0.5006, allocations: 3.952 MB / 0.5739 GB, free: 13.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5007, allocations: 111.5 kB / 0.574 GB, free: 13.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.5015, allocations: 0.5455 MB / 0.5746 GB, free: 12.63 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.934e-05/0.5016, allocations: 41.7 kB / 0.5746 GB, free: 12.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.502, allocations: 400.3 kB / 0.575 GB, free: 12.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003272/0.5023, allocations: 305.4 kB / 0.5753 GB, free: 11.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.5027, allocations: 198.5 kB / 0.5755 GB, free: 11.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.5029, allocations: 378.8 kB / 0.5758 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.5041, allocations: 497.6 kB / 0.5763 GB, free: 10.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.5056, allocations: 0.8103 MB / 0.5771 GB, free: 9.887 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/0.5082, allocations: 1.277 MB / 0.5784 GB, free: 8.508 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.5082, allocations: 8 kB / 0.5784 GB, free: 8.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004154/0.5124, allocations: 1.693 MB / 0.58 GB, free: 6.793 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.5124, allocations: 11.94 kB / 0.58 GB, free: 6.781 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.5124, allocations: 8 kB / 0.58 GB, free: 6.773 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007759/0.5202, allocations: 1.312 MB / 0.5813 GB, free: 5.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.5209, allocations: 155.7 kB / 0.5815 GB, free: 5.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003202/0.5241, allocations: 1.541 MB / 0.583 GB, free: 3.742 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.525, allocations: 56.02 kB / 0.583 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.5252, allocations: 55.97 kB / 0.5831 GB, free: 3.633 MB / 458.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.0006999/0.5259, allocations: 293.5 kB / 0.5834 GB, free: 3.336 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/0.5263, allocations: 103.5 kB / 0.5834 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/0.5304, allocations: 1.667 MB / 0.5851 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.5304, allocations: 12 kB / 0.5851 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.5304, allocations: 11.92 kB / 0.5851 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.5305, allocations: 3.984 kB / 0.5851 GB, free: 1.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/0.5359, allocations: 2.27 MB / 0.5873 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.536, allocations: 8.188 kB / 0.5873 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.5374, allocations: 259.7 kB / 0.5876 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.5394, allocations: 384.3 kB / 0.5879 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.5395, allocations: 35.92 kB / 0.588 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00328/0.5428, allocations: 2.22 MB / 0.5901 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/0.5428, allocations: 7.969 kB / 0.5902 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004778/0.5476, allocations: 2.045 MB / 0.5922 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/0.5482, allocations: 199.4 kB / 0.5923 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.5484, allocations: 27.92 kB / 0.5924 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.5493, allocations: 55.89 kB / 0.5924 GB, free: 9.824 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.5495, allocations: 68.81 kB / 0.5925 GB, free: 9.758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.5497, allocations: 43.97 kB / 0.5925 GB, free: 9.715 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006458/0.5503, allocations: 390.8 kB / 0.5929 GB, free: 9.336 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5503, allocations: 0 / 0.5929 GB, free: 9.336 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002548/0.5529, allocations: 0.6896 MB / 0.5936 GB, free: 8.645 MB / 474.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.002724/0.5556, allocations: 0.8597 MB / 0.5944 GB, free: 7.777 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003128/0.5587, allocations: 1.192 MB / 0.5956 GB, free: 6.586 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5587, allocations: 4 kB / 0.5956 GB, free: 6.582 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.5608, allocations: 0.69 MB / 0.5963 GB, free: 5.895 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.563, allocations: 462.7 kB / 0.5967 GB, free: 5.457 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.5685, allocations: 2.068 MB / 0.5987 GB, free: 3.344 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.5692, allocations: 455.2 kB / 0.5992 GB, free: 2.871 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001137/0.5703, allocations: 347.4 kB / 0.5995 GB, free: 2.539 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.5707, allocations: 84.48 kB / 0.5996 GB, free: 2.457 MB / 474.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5707, allocations: 0 / 0.5996 GB, free: 2.457 MB / 474.7 MB Notification: Performance of Templates: time 0.2028/0.7735, allocations: 31.42 MB / 0.6302 GB, free: 177.5 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.086799929034896]