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.00201/0.00201, allocations: 74.97 kB / 19.93 MB, free: 1.781 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.002394/0.002394, allocations: 166.2 kB / 23.21 MB, free: 4.91 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.446/1.446, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.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.2268/0.2268, allocations: 32.37 MB / 269.6 MB, free: 4.668 MB / 254.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.155e-05, allocations: 2.281 kB / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4755/0.4755, allocations: 170.4 MB / 0.5643 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.4927, allocations: 9.406 MB / 0.5735 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008563/0.4935, allocations: 27.75 kB / 0.5735 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.4952, allocations: 421.3 kB / 0.5739 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008662/0.5039, allocations: 2.679 MB / 0.5765 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009942/0.5138, allocations: 2.749 MB / 0.5792 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.5181, allocations: 2.238 MB / 0.5814 GB, free: 5.039 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.5197, allocations: 0.5217 MB / 0.5819 GB, free: 4.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008052/0.5277, allocations: 2.278 MB / 0.5841 GB, free: 2.219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.5298, allocations: 0.847 MB / 0.5849 GB, free: 1.371 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004427/0.5303, allocations: 92 kB / 0.585 GB, free: 1.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.5424, allocations: 4.791 MB / 0.5897 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.5437, allocations: 458.8 kB / 0.5901 GB, free: 12.03 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.5453, allocations: 403.2 kB / 0.5905 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.5582, allocations: 4.45 MB / 0.5949 GB, free: 7.176 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5582, allocations: 0 / 0.5949 GB, free: 7.176 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5582, allocations: 0 / 0.5949 GB, free: 7.176 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.29e-05/0.5582, allocations: 0 / 0.5949 GB, free: 7.176 MB / 478.1 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.005914/0.5641, allocations: 1.763 MB / 0.5966 GB, free: 5.371 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.5642, allocations: 12.03 kB / 0.5966 GB, free: 5.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006334/0.5648, allocations: 115.4 kB / 0.5967 GB, free: 5.246 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.5662, allocations: 0.5557 MB / 0.5973 GB, free: 4.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.5664, allocations: 168.8 kB / 0.5974 GB, free: 4.473 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002225/0.5666, allocations: 76.42 kB / 0.5975 GB, free: 4.398 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.5693, allocations: 1.591 MB / 0.599 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.5693, allocations: 8 kB / 0.5991 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.5694, allocations: 39.97 kB / 0.5991 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.5695, allocations: 61.91 kB / 0.5992 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/0.5719, allocations: 1.155 MB / 0.6003 GB, free: 1.391 MB / 478.1 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.007583/0.5794, allocations: 3.689 MB / 0.6039 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.5815, allocations: 0.8044 MB / 0.6047 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/0.5823, allocations: 411.2 kB / 0.6051 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.5834, allocations: 322.1 kB / 0.6054 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.5834, allocations: 47.22 kB / 0.6054 GB, free: 12.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=70): time 2.776e-06/0.5834, allocations: 0 / 0.6054 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.01528/0.5987, allocations: 3.956 MB / 0.6093 GB, free: 8.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.5988, allocations: 111.5 kB / 0.6094 GB, free: 7.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000875/0.5997, allocations: 0.5338 MB / 0.6099 GB, free: 7.363 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.5998, allocations: 41.7 kB / 0.6099 GB, free: 7.316 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.6003, allocations: 412.3 kB / 0.6103 GB, free: 6.906 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.6006, allocations: 301.4 kB / 0.6106 GB, free: 6.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/0.6011, allocations: 210.5 kB / 0.6108 GB, free: 6.398 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002662/0.6013, allocations: 374.8 kB / 0.6112 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.6025, allocations: 497.7 kB / 0.6117 GB, free: 5.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.6041, allocations: 0.8181 MB / 0.6125 GB, free: 4.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.6069, allocations: 1.273 MB / 0.6137 GB, free: 3.207 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.6069, allocations: 4 kB / 0.6137 GB, free: 3.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004156/0.611, allocations: 1.661 MB / 0.6153 GB, free: 1.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.6111, allocations: 12.53 kB / 0.6153 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.6111, allocations: 14.12 kB / 0.6154 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007968/0.619, allocations: 1.319 MB / 0.6166 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/0.6198, allocations: 155.7 kB / 0.6168 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.6231, allocations: 1.534 MB / 0.6183 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.624, allocations: 51.91 kB / 0.6183 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/0.6242, allocations: 63.98 kB / 0.6184 GB, free: 14.36 MB / 0.4981 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.0006505/0.6249, allocations: 301.4 kB / 0.6187 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.6252, allocations: 79.53 kB / 0.6188 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.6294, allocations: 1.618 MB / 0.6203 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.6294, allocations: 12 kB / 0.6204 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6295, allocations: 0 / 0.6204 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.6295, allocations: 7.969 kB / 0.6204 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/0.6347, allocations: 2.282 MB / 0.6226 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.6348, allocations: 4.875 kB / 0.6226 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.6362, allocations: 255.7 kB / 0.6228 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.6382, allocations: 388.5 kB / 0.6232 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.6383, allocations: 35.92 kB / 0.6232 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.6416, allocations: 2.218 MB / 0.6254 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.6416, allocations: 7.906 kB / 0.6254 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.6463, allocations: 2.015 MB / 0.6274 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.647, allocations: 201.7 kB / 0.6276 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/0.6473, allocations: 24 kB / 0.6276 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.6484, allocations: 55.94 kB / 0.6276 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.6486, allocations: 68.77 kB / 0.6277 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/0.6488, allocations: 55.95 kB / 0.6278 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007603/0.6495, allocations: 386.8 kB / 0.6281 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6495, allocations: 0 / 0.6281 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002932/0.6525, allocations: 0.7091 MB / 0.6288 GB, free: 3.426 MB / 0.4981 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.00353/0.656, allocations: 0.9629 MB / 0.6298 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003286/0.6593, allocations: 1.201 MB / 0.6309 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.6593, allocations: 0 / 0.6309 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.6614, allocations: 0.686 MB / 0.6316 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/0.6639, allocations: 433.8 kB / 0.632 GB, free: 160 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.6692, allocations: 2.045 MB / 0.634 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.6698, allocations: 451.2 kB / 0.6345 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001135/0.6709, allocations: 290.6 kB / 0.6347 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.6713, allocations: 100.5 kB / 0.6348 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.6713, allocations: 0 / 0.6348 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.2697/0.941, allocations: 32.73 MB / 0.6668 GB, free: 210.1 MB / 0.5294 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.681575618684292]