Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 188.7 kB / 22.93 MB, free: 5.578 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.454/1.454, allocations: 207.6 MB / 233.5 MB, free: 10.99 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 58.72 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2644, allocations: 49.12 MB / 394.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05857/0.323, allocations: 51.19 MB / 445.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006826/0.3298, allocations: 5.234 MB / 451 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.3301, allocations: 4 kB / 451 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008179/0.3309, allocations: 266.5 kB / 451.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007103/0.3316, allocations: 362 kB / 451.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01885/0.3504, allocations: 6.774 MB / 458.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.3519, allocations: 1.095 MB / 459.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.3522, allocations: 101.5 kB / 459.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007504/0.3597, allocations: 3.632 MB / 463.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/0.3603, allocations: 430.5 kB / 463.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.243e-05/0.3604, allocations: 63.94 kB / 463.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01995/0.3804, allocations: 9.982 MB / 473.6 MB, free: 4.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.3807, allocations: 223.4 kB / 473.9 MB, free: 4.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.3812, allocations: 306.9 kB / 474.2 MB, free: 4.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.3949, allocations: 5.495 MB / 479.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3949, allocations: 0 / 479.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3949, allocations: 0 / 479.7 MB, free: 14.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.3949, allocations: 4 kB / 479.7 MB, free: 14.52 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003962/0.3989, allocations: 1.395 MB / 481.1 MB, free: 13.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.3989, allocations: 11.89 kB / 481.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.3993, allocations: 63.7 kB / 481.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.3999, allocations: 374.1 kB / 481.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.3999, allocations: 33 kB / 481.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.619e-05/0.4, allocations: 43.95 kB / 481.6 MB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.4013, allocations: 0.5843 MB / 482.2 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.4013, allocations: 4 kB / 482.2 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.4014, allocations: 16 kB / 482.2 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4014, allocations: 8 kB / 482.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.4029, allocations: 0.7495 MB / 482.9 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01738/0.4203, allocations: 11.97 MB / 494.9 MB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.4216, allocations: 0.5041 MB / 495.4 MB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.422, allocations: 246 kB / 495.6 MB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/0.4382, allocations: 11.9 MB / 0.4956 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.4382, allocations: 35 kB / 0.4957 GB, free: 14.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.325e-06/0.4382, allocations: 8 kB / 0.4957 GB, free: 14.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005974/0.4442, allocations: 2.125 MB / 0.4978 GB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.4442, allocations: 59.95 kB / 0.4978 GB, free: 11.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003718/0.4446, allocations: 311 kB / 0.4981 GB, free: 11.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.4447, allocations: 37.7 kB / 0.4981 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4448, allocations: 208.7 kB / 0.4983 GB, free: 11.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.445, allocations: 202.3 kB / 0.4985 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.4452, allocations: 114.2 kB / 0.4986 GB, free: 10.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4453, allocations: 346.8 kB / 0.499 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.4457, allocations: 244.9 kB / 0.4992 GB, free: 10.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.4464, allocations: 339.3 kB / 0.4995 GB, free: 9.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.4476, allocations: 0.5956 MB / 0.5001 GB, free: 9.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4476, allocations: 4 kB / 0.5001 GB, free: 9.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001893/0.4495, allocations: 0.7519 MB / 0.5009 GB, free: 8.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.4495, allocations: 11.88 kB / 0.5009 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.4496, allocations: 4 kB / 0.5009 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005435/0.4501, allocations: 110.7 kB / 0.501 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.4506, allocations: 123.9 kB / 0.5011 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.4535, allocations: 3.48 MB / 0.5045 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.4539, allocations: 12 kB / 0.5045 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-05/0.454, allocations: 32.17 kB / 0.5045 GB, free: 4.484 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.0002957/0.4543, allocations: 205.4 kB / 0.5047 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.4546, allocations: 47.77 kB / 0.5048 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.4562, allocations: 0.8035 MB / 0.5056 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4562, allocations: 4 kB / 0.5056 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4562, allocations: 11.98 kB / 0.5056 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/0.4574, allocations: 0.7634 MB / 0.5063 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.4596, allocations: 1.297 MB / 0.5076 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.4596, allocations: 4 kB / 0.5076 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.4601, allocations: 103.8 kB / 0.5077 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009584/0.461, allocations: 148.7 kB / 0.5078 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.4611, allocations: 15.98 kB / 0.5078 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004713/0.4615, allocations: 0.6485 MB / 0.5085 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4615, allocations: 0 / 0.5085 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.4633, allocations: 0.9135 MB / 0.5094 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4635, allocations: 109 kB / 0.5095 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.4635, allocations: 19.98 kB / 0.5095 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.4639, allocations: 24.06 kB / 0.5095 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.464, allocations: 36.39 kB / 0.5096 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/0.4641, allocations: 23.98 kB / 0.5096 GB, free: 15.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003185/0.4644, allocations: 261.9 kB / 0.5098 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4644, allocations: 0 / 0.5098 GB, free: 14.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003775/0.4682, allocations: 1.317 MB / 0.5111 GB, free: 13.49 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.005735/0.4739, allocations: 1.729 MB / 0.5128 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.4756, allocations: 0.7763 MB / 0.5136 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.4757, allocations: 0 / 0.5136 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005845/0.4762, allocations: 279.2 kB / 0.5138 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.4777, allocations: 281.9 kB / 0.5141 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.4797, allocations: 1.111 MB / 0.5152 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.4801, allocations: 0.8326 MB / 0.516 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000486/0.4806, allocations: 152.1 kB / 0.5161 GB, free: 8.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.4808, allocations: 63.42 kB / 0.5162 GB, free: 8.172 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4808, allocations: 0 / 0.5162 GB, free: 8.172 MB / 446.1 MB Notification: Performance of Templates: time 0.2382/0.719, allocations: 46.66 MB / 0.5618 GB, free: 155.7 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.298866289667785]