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.001776/0.001776, allocations: 107.6 kB / 21.18 MB, free: 452 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.002174/0.002174, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.418/1.418, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.00199/0.00199, allocations: 51.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.245, allocations: 49.16 MB / 396.9 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07156/0.3166, allocations: 59.01 MB / 455.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007531/0.3241, allocations: 4.967 MB / 460.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003782/0.3245, allocations: 7.938 kB / 460.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.3256, allocations: 338 kB / 461.2 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.3266, allocations: 0.5167 MB / 461.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02064/0.3473, allocations: 7.118 MB / 468.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3496, allocations: 1.563 MB / 470.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.3498, allocations: 141.4 kB / 470.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.3509, allocations: 0.6425 MB / 471.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008423/0.3517, allocations: 0.5721 MB / 471.7 MB, free: 8.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.3518, allocations: 88 kB / 471.8 MB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0189/0.3707, allocations: 9.392 MB / 481.2 MB, free: 14.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.3712, allocations: 339.1 kB / 481.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005863/0.3718, allocations: 386.7 kB / 481.9 MB, free: 13.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.3844, allocations: 5.842 MB / 487.7 MB, free: 8.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3844, allocations: 0 / 487.7 MB, free: 8.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3844, allocations: 0 / 487.7 MB, free: 8.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.3844, allocations: 0 / 487.7 MB, free: 8.047 MB / 398.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.003479/0.3879, allocations: 1.514 MB / 489.3 MB, free: 6.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3879, allocations: 11.98 kB / 489.3 MB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004684/0.3884, allocations: 91.56 kB / 489.4 MB, free: 6.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.3892, allocations: 387.1 kB / 489.7 MB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/0.3892, allocations: 53.25 kB / 489.8 MB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.3894, allocations: 68 kB / 489.9 MB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.3916, allocations: 1.216 MB / 491.1 MB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.3916, allocations: 4 kB / 491.1 MB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.3917, allocations: 24 kB / 491.1 MB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.3917, allocations: 16 kB / 491.1 MB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.3936, allocations: 1.024 MB / 492.1 MB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.407, allocations: 4.058 MB / 496.2 MB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.4088, allocations: 0.6991 MB / 496.9 MB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/0.4094, allocations: 399 kB / 497.3 MB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.42, allocations: 2.612 MB / 499.9 MB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.42, allocations: 43.22 kB / 499.9 MB, free: 11.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/0.42, allocations: 0 / 499.9 MB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009508/0.4295, allocations: 3.167 MB / 0.4913 GB, free: 8.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.4296, allocations: 64.41 kB / 0.4914 GB, free: 8.344 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/0.43, allocations: 305.8 kB / 0.4917 GB, free: 8.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.458e-05/0.4301, allocations: 45.7 kB / 0.4917 GB, free: 7.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.4302, allocations: 245.1 kB / 0.4919 GB, free: 7.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.4305, allocations: 321.2 kB / 0.4923 GB, free: 7.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.4308, allocations: 166.6 kB / 0.4924 GB, free: 7.246 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.4309, allocations: 358.8 kB / 0.4928 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.4316, allocations: 369.8 kB / 0.4931 GB, free: 6.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009697/0.4325, allocations: 496.1 kB / 0.4936 GB, free: 6.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.4344, allocations: 0.9099 MB / 0.4945 GB, free: 5.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4344, allocations: 0 / 0.4945 GB, free: 5.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00261/0.437, allocations: 1.11 MB / 0.4956 GB, free: 3.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.437, allocations: 11.94 kB / 0.4956 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.437, allocations: 0 / 0.4956 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008357/0.4379, allocations: 175.2 kB / 0.4957 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.4386, allocations: 187.8 kB / 0.4959 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003256/0.4419, allocations: 3.856 MB / 0.4997 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/0.4422, allocations: 28.44 kB / 0.4997 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.65e-05/0.4423, allocations: 51.97 kB / 0.4998 GB, free: 15.38 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.000365/0.4427, allocations: 217.6 kB / 0.5 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003623/0.443, allocations: 59.7 kB / 0.5 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.4455, allocations: 1.272 MB / 0.5013 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4455, allocations: 15.92 kB / 0.5013 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4455, allocations: 7.938 kB / 0.5013 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/0.4475, allocations: 1.32 MB / 0.5026 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.4508, allocations: 1.714 MB / 0.5042 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4508, allocations: 0 / 0.5042 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006975/0.4515, allocations: 163.8 kB / 0.5044 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.4533, allocations: 305.2 kB / 0.5047 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.4534, allocations: 35.97 kB / 0.5047 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009412/0.4543, allocations: 1.285 MB / 0.506 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.4543, allocations: 3.938 kB / 0.506 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.457, allocations: 1.418 MB / 0.5074 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.4571, allocations: 43.7 kB / 0.5074 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.4572, allocations: 28 kB / 0.5074 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.4577, allocations: 31.97 kB / 0.5075 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.4578, allocations: 52.89 kB / 0.5075 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.4579, allocations: 48.09 kB / 0.5076 GB, free: 7.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002858/0.4582, allocations: 247 kB / 0.5078 GB, free: 6.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4582, allocations: 0 / 0.5078 GB, free: 6.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003614/0.4618, allocations: 1.399 MB / 0.5092 GB, free: 5.422 MB / 430.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.005023/0.4669, allocations: 1.76 MB / 0.5109 GB, free: 3.648 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002276/0.4691, allocations: 1.109 MB / 0.512 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.4691, allocations: 0 / 0.512 GB, free: 2.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009566/0.4701, allocations: 475.2 kB / 0.5124 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001665/0.4718, allocations: 338.2 kB / 0.5127 GB, free: 1.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.4747, allocations: 1.673 MB / 0.5144 GB, free: 0 / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.475, allocations: 309.8 kB / 0.5147 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006757/0.4757, allocations: 196.8 kB / 0.5149 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.4759, allocations: 79.41 kB / 0.5149 GB, free: 15.4 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4759, allocations: 0 / 0.5149 GB, free: 15.4 MB / 446.1 MB Notification: Performance of Templates: time 0.232/0.7079, allocations: 51.59 MB / 0.5653 GB, free: 156.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/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.950056651607156]