Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001723/0.001723, allocations: 120.2 kB / 21.94 MB, free: 4 kB / 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.002229/0.002229, allocations: 208.7 kB / 25.24 MB, free: 3.535 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.509/1.509, allocations: 207.6 MB / 236 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [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.002044/0.002044, allocations: 58.58 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2791, allocations: 49.16 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.08395/0.363, allocations: 66.41 MB / 464 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008746/0.3718, allocations: 5.5 MB / 469.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/0.3725, allocations: 11.94 kB / 469.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.3741, allocations: 361.9 kB / 469.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.3758, allocations: 0.5128 MB / 470.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02902/0.4049, allocations: 7.171 MB / 477.6 MB, free: 3.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002826/0.4077, allocations: 1.575 MB / 479.1 MB, free: 1.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.4081, allocations: 149.4 kB / 479.3 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.4097, allocations: 0.6425 MB / 479.9 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.4111, allocations: 0.6072 MB / 480.5 MB, free: 204 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.4114, allocations: 84 kB / 480.6 MB, free: 120 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0251/0.4365, allocations: 10.33 MB / 491 MB, free: 5.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006762/0.4372, allocations: 335.1 kB / 491.3 MB, free: 5.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.4382, allocations: 434.5 kB / 491.7 MB, free: 5.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.4561, allocations: 5.947 MB / 497.6 MB, free: 15.06 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.4561, allocations: 4 kB / 497.7 MB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4561, allocations: 0 / 497.7 MB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.544e-05/0.4561, allocations: 0 / 497.7 MB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004686/0.4608, allocations: 1.514 MB / 499.2 MB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4609, allocations: 19.92 kB / 499.2 MB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/0.4614, allocations: 91.56 kB / 499.3 MB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.4622, allocations: 387.1 kB / 499.7 MB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.4622, allocations: 45.31 kB / 499.7 MB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.4623, allocations: 64 kB / 499.8 MB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.4644, allocations: 0.8147 MB / 0.4888 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.4644, allocations: 0 / 0.4888 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.4645, allocations: 28 kB / 0.4889 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4645, allocations: 12 kB / 0.4889 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.4665, allocations: 1.04 MB / 0.4899 GB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01487/0.4814, allocations: 4.977 MB / 0.4948 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.4833, allocations: 0.7142 MB / 0.4955 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.4839, allocations: 387 kB / 0.4958 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.4949, allocations: 2.615 MB / 0.4984 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.353e-05/0.495, allocations: 43.22 kB / 0.4984 GB, free: 2.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.554e-06/0.495, allocations: 4 kB / 0.4984 GB, free: 2.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01034/0.5053, allocations: 3.163 MB / 0.5015 GB, free: 14.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.5054, allocations: 64.41 kB / 0.5016 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.5058, allocations: 360.5 kB / 0.5019 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.5059, allocations: 45.69 kB / 0.502 GB, free: 14.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.5061, allocations: 241.2 kB / 0.5022 GB, free: 14.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003218/0.5065, allocations: 321.2 kB / 0.5025 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5067, allocations: 162.6 kB / 0.5027 GB, free: 13.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.5069, allocations: 358.8 kB / 0.503 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.5076, allocations: 373.8 kB / 0.5034 GB, free: 12.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/0.5086, allocations: 492.2 kB / 0.5038 GB, free: 12.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.5105, allocations: 0.9098 MB / 0.5047 GB, free: 11.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5105, allocations: 3.938 kB / 0.5047 GB, free: 11.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00283/0.5133, allocations: 1.121 MB / 0.5058 GB, free: 10.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.5133, allocations: 4 kB / 0.5058 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5133, allocations: 4 kB / 0.5058 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000917/0.5142, allocations: 167.6 kB / 0.506 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.515, allocations: 195.7 kB / 0.5062 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.5187, allocations: 3.91 MB / 0.51 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.5192, allocations: 20.03 kB / 0.51 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.5193, allocations: 43.98 kB / 0.51 GB, free: 5.668 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {2, 2} * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004361/0.5197, allocations: 217.7 kB / 0.5102 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/0.5202, allocations: 67.67 kB / 0.5103 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/0.5229, allocations: 1.285 MB / 0.5116 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5229, allocations: 8 kB / 0.5116 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.5229, allocations: 3.984 kB / 0.5116 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002041/0.525, allocations: 1.324 MB / 0.5129 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003692/0.5287, allocations: 1.928 MB / 0.5148 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.5287, allocations: 4 kB / 0.5148 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.5294, allocations: 163.8 kB / 0.5149 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001826/0.5313, allocations: 293.3 kB / 0.5152 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/0.5313, allocations: 27.98 kB / 0.5152 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.5324, allocations: 1.289 MB / 0.5165 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5324, allocations: 0 / 0.5165 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.5353, allocations: 1.433 MB / 0.5179 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.5354, allocations: 59.66 kB / 0.5179 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.5356, allocations: 16 kB / 0.518 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.5362, allocations: 31.97 kB / 0.518 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5363, allocations: 60.89 kB / 0.518 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.5364, allocations: 43.97 kB / 0.5181 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003578/0.5367, allocations: 279 kB / 0.5183 GB, free: 12.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5367, allocations: 0 / 0.5183 GB, free: 12.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004198/0.5409, allocations: 1.407 MB / 0.5197 GB, free: 11.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00654/0.5475, allocations: 1.76 MB / 0.5214 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002619/0.5501, allocations: 1.109 MB / 0.5225 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5501, allocations: 0 / 0.5225 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.5511, allocations: 479.9 kB / 0.523 GB, free: 8.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.5531, allocations: 386.2 kB / 0.5233 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003286/0.5564, allocations: 1.726 MB / 0.525 GB, free: 5.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.557, allocations: 0.9128 MB / 0.5259 GB, free: 4.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.5574, allocations: 95.39 kB / 0.526 GB, free: 4.863 MB / 446.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5574, allocations: 0 / 0.526 GB, free: 4.863 MB / 446.1 MB Notification: Performance of Templates: time 0.2392/0.7965, allocations: 42.15 MB / 0.5672 GB, free: 155.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 20.380383824929595]