Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001913/0.001913, allocations: 108.8 kB / 21.18 MB, free: 0.7617 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.002364/0.002364, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 371.7 MB, free: 9.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2735, allocations: 52.18 MB / 423.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06355/0.337, allocations: 51.05 MB / 474.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007309/0.3443, allocations: 5.242 MB / 480.2 MB, free: 6.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004299/0.3448, allocations: 4 kB / 480.2 MB, free: 6.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009849/0.3457, allocations: 250.5 kB / 480.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009795/0.3467, allocations: 366 kB / 480.8 MB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02057/0.3673, allocations: 7.21 MB / 488 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.3691, allocations: 1.107 MB / 489.1 MB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003073/0.3694, allocations: 102.7 kB / 489.2 MB, free: 13.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007608/0.377, allocations: 3.607 MB / 492.8 MB, free: 9.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.3779, allocations: 430.6 kB / 493.2 MB, free: 9.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002091/0.3781, allocations: 60 kB / 493.3 MB, free: 9.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02166/0.3998, allocations: 10.15 MB / 0.4916 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.4003, allocations: 227.4 kB / 0.4918 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007367/0.401, allocations: 314.8 kB / 0.4921 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01533/0.4163, allocations: 5.511 MB / 0.4975 GB, free: 8.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.4163, allocations: 0 / 0.4975 GB, free: 8.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4163, allocations: 0 / 0.4975 GB, free: 8.832 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.948e-05/0.4164, allocations: 0 / 0.4975 GB, free: 8.832 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.00402/0.4204, allocations: 1.319 MB / 0.4988 GB, free: 7.477 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.4204, allocations: 12.03 kB / 0.4988 GB, free: 7.465 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004102/0.4208, allocations: 59.7 kB / 0.4989 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.4215, allocations: 321 kB / 0.4992 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.4215, allocations: 29 kB / 0.4992 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.4216, allocations: 48 kB / 0.4993 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.4231, allocations: 0.5882 MB / 0.4998 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.4231, allocations: 3.938 kB / 0.4998 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.4232, allocations: 16 kB / 0.4999 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.4232, allocations: 12 kB / 0.4999 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.4247, allocations: 0.7534 MB / 0.5006 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.4383, allocations: 4.157 MB / 0.5047 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.4398, allocations: 0.5041 MB / 0.5052 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004307/0.4402, allocations: 247.9 kB / 0.5054 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.4511, allocations: 2.561 MB / 0.5079 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.4512, allocations: 39 kB / 0.5079 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 3.747e-06/0.4512, allocations: 7.938 kB / 0.5079 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00635/0.4575, allocations: 1.909 MB / 0.5098 GB, free: 11.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.4576, allocations: 55.91 kB / 0.5099 GB, free: 11.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.458, allocations: 324.1 kB / 0.5102 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-05/0.4581, allocations: 37.7 kB / 0.5102 GB, free: 11.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.4583, allocations: 196.8 kB / 0.5104 GB, free: 11.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.4585, allocations: 206.2 kB / 0.5106 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.4587, allocations: 114.3 kB / 0.5107 GB, free: 11.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4588, allocations: 346.8 kB / 0.511 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.4592, allocations: 245.2 kB / 0.5113 GB, free: 10.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.4599, allocations: 336.3 kB / 0.5116 GB, free: 10.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.4612, allocations: 0.6073 MB / 0.5122 GB, free: 9.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4612, allocations: 4 kB / 0.5122 GB, free: 9.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001931/0.4631, allocations: 0.7519 MB / 0.5129 GB, free: 8.672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4631, allocations: 7.938 kB / 0.5129 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4631, allocations: 4 kB / 0.5129 GB, free: 8.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.4637, allocations: 106.8 kB / 0.513 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.4642, allocations: 123.8 kB / 0.5131 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.4671, allocations: 3.269 MB / 0.5163 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.4675, allocations: 20 kB / 0.5164 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.4675, allocations: 32.17 kB / 0.5164 GB, free: 4.852 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.0003092/0.4679, allocations: 205 kB / 0.5166 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.4682, allocations: 43.77 kB / 0.5166 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.4698, allocations: 0.8151 MB / 0.5174 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.4698, allocations: 4 kB / 0.5174 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.4698, allocations: 4 kB / 0.5174 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/0.471, allocations: 0.7596 MB / 0.5182 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.4734, allocations: 1.269 MB / 0.5194 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.4734, allocations: 0 / 0.5194 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.4738, allocations: 99.88 kB / 0.5195 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009416/0.4748, allocations: 156.6 kB / 0.5196 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.4748, allocations: 16 kB / 0.5197 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000513/0.4753, allocations: 0.6484 MB / 0.5203 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.4753, allocations: 8.016 kB / 0.5203 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.4771, allocations: 0.9014 MB / 0.5212 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.4773, allocations: 43.89 kB / 0.5212 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.353e-05/0.4773, allocations: 15.94 kB / 0.5212 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.4778, allocations: 19.98 kB / 0.5213 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.4778, allocations: 36.31 kB / 0.5213 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.094e-05/0.4779, allocations: 31.97 kB / 0.5213 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003103/0.4782, allocations: 251 kB / 0.5216 GB, free: 15.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4782, allocations: 4 kB / 0.5216 GB, free: 15.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004063/0.4823, allocations: 1.329 MB / 0.5229 GB, free: 13.99 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.007278/0.4896, allocations: 1.705 MB / 0.5245 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001942/0.4915, allocations: 0.7763 MB / 0.5253 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.4915, allocations: 4 kB / 0.5253 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.4921, allocations: 275.2 kB / 0.5256 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.4937, allocations: 281.4 kB / 0.5258 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4959, allocations: 1.162 MB / 0.527 GB, free: 9.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.4965, allocations: 0.8365 MB / 0.5278 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.4967, allocations: 63.42 kB / 0.5278 GB, free: 8.797 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4967, allocations: 4 kB / 0.5278 GB, free: 8.793 MB / 446.1 MB Notification: Performance of Templates: time 0.2553/0.752, allocations: 33.88 MB / 0.5609 GB, free: 95.73 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.171443592989817]