Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.00167/0.00167, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.00197/0.00197, allocations: 215.1 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 51.92 kB / 378.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2514, allocations: 53.35 MB / 431.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05676/0.3082, allocations: 45.52 MB / 477.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.3146, allocations: 4.709 MB / 481.8 MB, free: 4.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.3149, allocations: 4 kB / 481.8 MB, free: 4.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007569/0.3156, allocations: 230.6 kB / 482 MB, free: 4.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.3163, allocations: 374 kB / 482.4 MB, free: 3.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0172/0.3335, allocations: 7.134 MB / 489.5 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.335, allocations: 1.111 MB / 490.7 MB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.3352, allocations: 97.83 kB / 490.7 MB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007407/0.3426, allocations: 3.599 MB / 494.3 MB, free: 7.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.3433, allocations: 426.5 kB / 494.8 MB, free: 7.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.083e-05/0.3434, allocations: 56 kB / 494.8 MB, free: 7.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01823/0.3616, allocations: 9.643 MB / 0.4926 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.362, allocations: 231.4 kB / 0.4929 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000454/0.3624, allocations: 271.1 kB / 0.4931 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.3747, allocations: 5.452 MB / 0.4984 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3748, allocations: 0 / 0.4984 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3748, allocations: 0 / 0.4984 GB, free: 7.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3748, allocations: 0 / 0.4984 GB, free: 7.727 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003186/0.378, allocations: 1.319 MB / 0.4997 GB, free: 6.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.378, allocations: 12.03 kB / 0.4997 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.3783, allocations: 63.7 kB / 0.4998 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.3789, allocations: 308.3 kB / 0.5001 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.379, allocations: 33 kB / 0.5001 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.293e-05/0.379, allocations: 44 kB / 0.5002 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.3806, allocations: 0.8933 MB / 0.501 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3806, allocations: 0 / 0.501 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.3806, allocations: 24 kB / 0.5011 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.3807, allocations: 12 kB / 0.5011 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.3821, allocations: 0.7417 MB / 0.5018 GB, free: 4.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.3955, allocations: 3.577 MB / 0.5053 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3968, allocations: 0.509 MB / 0.5058 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.3972, allocations: 242 kB / 0.506 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.4085, allocations: 2.561 MB / 0.5085 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/0.4086, allocations: 39 kB / 0.5086 GB, free: 13.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.124e-06/0.4086, allocations: 0 / 0.5086 GB, free: 13.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005767/0.4143, allocations: 1.886 MB / 0.5104 GB, free: 11.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.4144, allocations: 63.84 kB / 0.5105 GB, free: 11.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.4147, allocations: 268.8 kB / 0.5107 GB, free: 10.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.4147, allocations: 37.7 kB / 0.5108 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.4149, allocations: 209.2 kB / 0.511 GB, free: 10.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.4151, allocations: 206.2 kB / 0.5111 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.4153, allocations: 114.3 kB / 0.5113 GB, free: 10.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4154, allocations: 342.8 kB / 0.5116 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.4158, allocations: 241.2 kB / 0.5118 GB, free: 9.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.4165, allocations: 340.3 kB / 0.5121 GB, free: 9.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.4177, allocations: 0.5995 MB / 0.5127 GB, free: 8.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4177, allocations: 0 / 0.5127 GB, free: 8.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001883/0.4196, allocations: 0.7558 MB / 0.5135 GB, free: 7.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4196, allocations: 4 kB / 0.5135 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4196, allocations: 4 kB / 0.5135 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005119/0.4201, allocations: 118.7 kB / 0.5136 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.4207, allocations: 119.9 kB / 0.5137 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.4234, allocations: 3.232 MB / 0.5169 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.4237, allocations: 12 kB / 0.5169 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.4238, allocations: 31.98 kB / 0.5169 GB, free: 4.223 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.00027/0.424, allocations: 189.7 kB / 0.5171 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.4243, allocations: 43.7 kB / 0.5171 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.426, allocations: 0.8154 MB / 0.5179 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.426, allocations: 4 kB / 0.5179 GB, free: 3.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.426, allocations: 3.938 kB / 0.5179 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.4273, allocations: 0.7596 MB / 0.5187 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4294, allocations: 1.125 MB / 0.5198 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.4294, allocations: 0 / 0.5198 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/0.4298, allocations: 99.88 kB / 0.5199 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009539/0.4308, allocations: 152.7 kB / 0.52 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.4308, allocations: 16 kB / 0.52 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004563/0.4313, allocations: 0.6522 MB / 0.5207 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4313, allocations: 4.031 kB / 0.5207 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.433, allocations: 0.9016 MB / 0.5215 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.4331, allocations: 27.81 kB / 0.5216 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.22e-05/0.4332, allocations: 19.97 kB / 0.5216 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/0.4336, allocations: 19.98 kB / 0.5216 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.4337, allocations: 40.31 kB / 0.5216 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/0.4337, allocations: 27.97 kB / 0.5217 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.434, allocations: 216.4 kB / 0.5219 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.434, allocations: 0 / 0.5219 GB, free: 14.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003637/0.4376, allocations: 1.337 MB / 0.5232 GB, free: 13.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004935/0.4425, allocations: 1.692 MB / 0.5248 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.4441, allocations: 0.7766 MB / 0.5256 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4441, allocations: 0 / 0.5256 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.4447, allocations: 283.1 kB / 0.5259 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.4458, allocations: 232 kB / 0.5261 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.4479, allocations: 1.111 MB / 0.5272 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.4482, allocations: 229.4 kB / 0.5274 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004538/0.4486, allocations: 135.2 kB / 0.5275 GB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.4488, allocations: 55.42 kB / 0.5276 GB, free: 8.98 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4488, allocations: 0 / 0.5276 GB, free: 8.98 MB / 446.1 MB Notification: Performance of Templates: time 0.2328/0.6816, allocations: 45.11 MB / 0.5716 GB, free: 78.85 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.407155556138605]