Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.00136/0.00136, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001502/0.001502, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 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.44/1.44, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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(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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 64.05 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2539, allocations: 53.41 MB / 431.6 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06049/0.3144, allocations: 45.51 MB / 477.2 MB, free: 8.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.3212, allocations: 4.713 MB / 481.9 MB, free: 4.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.3215, allocations: 7.938 kB / 481.9 MB, free: 4.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.3225, allocations: 230.6 kB / 482.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.3233, allocations: 377.9 kB / 482.5 MB, free: 3.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01873/0.342, allocations: 7.117 MB / 489.6 MB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.3436, allocations: 1.103 MB / 490.7 MB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.3439, allocations: 98.67 kB / 490.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007097/0.351, allocations: 3.599 MB / 494.4 MB, free: 7.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007796/0.3518, allocations: 406.5 kB / 494.8 MB, free: 7.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.352, allocations: 56 kB / 494.8 MB, free: 7.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/0.3702, allocations: 9.322 MB / 0.4923 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.3706, allocations: 239.4 kB / 0.4926 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.3711, allocations: 263.1 kB / 0.4928 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3817, allocations: 5.444 MB / 0.4981 GB, free: 7.887 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3817, allocations: 4 kB / 0.4981 GB, free: 7.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3817, allocations: 0 / 0.4981 GB, free: 7.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.3817, allocations: 4 kB / 0.4981 GB, free: 7.879 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.003488/0.3852, allocations: 1.327 MB / 0.4994 GB, free: 6.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3853, allocations: 15.92 kB / 0.4995 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000358/0.3856, allocations: 59.72 kB / 0.4995 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.3862, allocations: 312.4 kB / 0.4998 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.3863, allocations: 33 kB / 0.4998 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.3864, allocations: 44 kB / 0.4999 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.3879, allocations: 0.8971 MB / 0.5008 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.388, allocations: 0 / 0.5008 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.843e-05/0.388, allocations: 16 kB / 0.5008 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.388, allocations: 12 kB / 0.5008 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.3895, allocations: 0.7378 MB / 0.5015 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.4027, allocations: 3.584 MB / 0.505 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.404, allocations: 0.5042 MB / 0.5055 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.4045, allocations: 250 kB / 0.5057 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/0.4153, allocations: 2.553 MB / 0.5082 GB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.4154, allocations: 43 kB / 0.5083 GB, free: 13.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.485e-06/0.4154, allocations: 0 / 0.5083 GB, free: 13.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006017/0.4214, allocations: 1.897 MB / 0.5101 GB, free: 11.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4215, allocations: 59.91 kB / 0.5102 GB, free: 11.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.4218, allocations: 268.8 kB / 0.5104 GB, free: 11.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.571e-05/0.4219, allocations: 33.7 kB / 0.5105 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.4221, allocations: 209.2 kB / 0.5107 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.4222, allocations: 206.3 kB / 0.5109 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.4224, allocations: 106.3 kB / 0.511 GB, free: 10.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4226, allocations: 346.8 kB / 0.5113 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000444/0.4231, allocations: 241.2 kB / 0.5115 GB, free: 9.895 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.4238, allocations: 344.3 kB / 0.5119 GB, free: 9.527 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.4251, allocations: 0.5917 MB / 0.5124 GB, free: 8.902 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.4251, allocations: 0 / 0.5124 GB, free: 8.902 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001939/0.427, allocations: 0.7597 MB / 0.5132 GB, free: 8.125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4271, allocations: 4 kB / 0.5132 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4271, allocations: 4.078 kB / 0.5132 GB, free: 8.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/0.4276, allocations: 106.5 kB / 0.5133 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005333/0.4281, allocations: 124.1 kB / 0.5134 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/0.4311, allocations: 3.232 MB / 0.5166 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003036/0.4314, allocations: 12.41 kB / 0.5166 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/0.4315, allocations: 39.98 kB / 0.5166 GB, free: 4.371 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.0002911/0.4318, allocations: 185.7 kB / 0.5168 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/0.4321, allocations: 43.7 kB / 0.5168 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.4338, allocations: 0.8189 MB / 0.5176 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4338, allocations: 4 kB / 0.5176 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-06/0.4338, allocations: 0 / 0.5176 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/0.435, allocations: 0.7596 MB / 0.5184 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.4373, allocations: 1.129 MB / 0.5195 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4373, allocations: 4 kB / 0.5195 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.4377, allocations: 95.89 kB / 0.5196 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/0.4386, allocations: 152.7 kB / 0.5197 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.4387, allocations: 19.98 kB / 0.5197 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004606/0.4391, allocations: 0.6445 MB / 0.5204 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.4391, allocations: 4.031 kB / 0.5204 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.4409, allocations: 0.8976 MB / 0.5213 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.441, allocations: 39.78 kB / 0.5213 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.4411, allocations: 15.94 kB / 0.5213 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.4415, allocations: 20.08 kB / 0.5213 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.315e-05/0.4415, allocations: 40.31 kB / 0.5214 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/0.4416, allocations: 31.97 kB / 0.5214 GB, free: 15.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.4419, allocations: 216.4 kB / 0.5216 GB, free: 15.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4419, allocations: 0 / 0.5216 GB, free: 15.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003493/0.4454, allocations: 1.329 MB / 0.5229 GB, free: 13.73 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.006028/0.4514, allocations: 1.694 MB / 0.5246 GB, free: 12.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.453, allocations: 0.7763 MB / 0.5253 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.453, allocations: 0.5625 kB / 0.5253 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/0.4536, allocations: 287.1 kB / 0.5256 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.4549, allocations: 220.5 kB / 0.5258 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.457, allocations: 1.111 MB / 0.5269 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.4572, allocations: 229.4 kB / 0.5271 GB, free: 9.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005034/0.4577, allocations: 127.3 kB / 0.5272 GB, free: 9.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.4579, allocations: 59.41 kB / 0.5273 GB, free: 9.137 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4579, allocations: 0 / 0.5273 GB, free: 9.137 MB / 446.1 MB Notification: Performance of Templates: time 0.2357/0.6936, allocations: 44.94 MB / 0.5712 GB, free: 79.05 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.442567478865385]