Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001786/0.001786, allocations: 120.7 kB / 19.18 MB, free: 3.906 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.002199/0.002199, allocations: 202.6 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.512/1.512, allocations: 230.5 MB / 255.4 MB, free: 15.02 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 67.83 kB / 374.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1093, allocations: 53.31 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2697/0.379, allocations: 50.87 MB / 478.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007338/0.3863, allocations: 5.232 MB / 484.2 MB, free: 4.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002836/0.3866, allocations: 4.625 kB / 484.2 MB, free: 4.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008523/0.3875, allocations: 252.5 kB / 484.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007571/0.3882, allocations: 363.3 kB / 484.8 MB, free: 4.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02198/0.4102, allocations: 7.156 MB / 491.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.412, allocations: 1.088 MB / 493 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.4122, allocations: 109.1 kB / 493.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007682/0.4199, allocations: 3.619 MB / 496.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008926/0.4208, allocations: 436.8 kB / 497.2 MB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.421, allocations: 59.94 kB / 497.2 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02065/0.4417, allocations: 10.11 MB / 0.4954 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.442, allocations: 219.4 kB / 0.4957 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.4426, allocations: 310.9 kB / 0.4959 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.4578, allocations: 5.534 MB / 0.5014 GB, free: 11.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4578, allocations: 3.938 kB / 0.5014 GB, free: 11.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4578, allocations: 0 / 0.5014 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.4578, allocations: 0 / 0.5014 GB, free: 11.3 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.003546/0.4614, allocations: 1.406 MB / 0.5027 GB, free: 9.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4614, allocations: 11.97 kB / 0.5027 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.4618, allocations: 67.66 kB / 0.5028 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005871/0.4624, allocations: 366.2 kB / 0.5032 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.4624, allocations: 29 kB / 0.5032 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.4625, allocations: 47.98 kB / 0.5032 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.4638, allocations: 0.5843 MB / 0.5038 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.4638, allocations: 0 / 0.5038 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.4639, allocations: 20 kB / 0.5038 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.4639, allocations: 12 kB / 0.5038 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.4653, allocations: 0.7417 MB / 0.5046 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01785/0.4832, allocations: 11.95 MB / 0.5162 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.4845, allocations: 0.5122 MB / 0.5167 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.4849, allocations: 242 kB / 0.517 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01667/0.5016, allocations: 11.89 MB / 0.5286 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/0.5017, allocations: 43 kB / 0.5286 GB, free: 10.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.895e-06/0.5017, allocations: 0 / 0.5286 GB, free: 10.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006406/0.5081, allocations: 2.113 MB / 0.5307 GB, free: 8.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.5081, allocations: 59.97 kB / 0.5307 GB, free: 8.629 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.5086, allocations: 326.9 kB / 0.531 GB, free: 8.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.5087, allocations: 37.7 kB / 0.5311 GB, free: 8.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.5088, allocations: 196.8 kB / 0.5313 GB, free: 8.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.509, allocations: 202.2 kB / 0.5315 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.5092, allocations: 118.2 kB / 0.5316 GB, free: 7.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.5094, allocations: 350.8 kB / 0.5319 GB, free: 7.387 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/0.5098, allocations: 246.2 kB / 0.5321 GB, free: 7.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007212/0.5105, allocations: 335.3 kB / 0.5325 GB, free: 6.785 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.5118, allocations: 0.6073 MB / 0.5331 GB, free: 6.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5118, allocations: 0 / 0.5331 GB, free: 6.145 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001948/0.5138, allocations: 0.7519 MB / 0.5338 GB, free: 5.379 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.5138, allocations: 11.94 kB / 0.5338 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.5138, allocations: 288 / 0.5338 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.5143, allocations: 110.5 kB / 0.5339 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.5148, allocations: 115.9 kB / 0.534 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.5179, allocations: 3.478 MB / 0.5374 GB, free: 1.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.5182, allocations: 16.22 kB / 0.5374 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/0.5183, allocations: 35.98 kB / 0.5375 GB, free: 1.312 MB / 446.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.000304/0.5186, allocations: 195.9 kB / 0.5376 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.519, allocations: 43.77 kB / 0.5377 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.5206, allocations: 0.8151 MB / 0.5385 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5207, allocations: 8 kB / 0.5385 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.5207, allocations: 0 / 0.5385 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/0.5219, allocations: 0.7635 MB / 0.5392 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.5243, allocations: 1.297 MB / 0.5405 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5243, allocations: 0 / 0.5405 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.5247, allocations: 103.8 kB / 0.5406 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009295/0.5257, allocations: 148.7 kB / 0.5407 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.5257, allocations: 19.98 kB / 0.5408 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005017/0.5262, allocations: 0.6406 MB / 0.5414 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5262, allocations: 4.031 kB / 0.5414 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.528, allocations: 0.9095 MB / 0.5423 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.5282, allocations: 120.9 kB / 0.5424 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.5283, allocations: 15.98 kB / 0.5424 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003906/0.5287, allocations: 20.98 kB / 0.5424 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.5287, allocations: 32.39 kB / 0.5425 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.5288, allocations: 27.98 kB / 0.5425 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003125/0.5291, allocations: 253.9 kB / 0.5427 GB, free: 11.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5291, allocations: 0 / 0.5427 GB, free: 11.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003835/0.5329, allocations: 1.341 MB / 0.544 GB, free: 10.32 MB / 462.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.006076/0.539, allocations: 1.723 MB / 0.5457 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.5407, allocations: 0.7763 MB / 0.5465 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5407, allocations: 0 / 0.5465 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005823/0.5413, allocations: 279.2 kB / 0.5467 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5427, allocations: 283.3 kB / 0.547 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.5448, allocations: 1.147 MB / 0.5481 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.5454, allocations: 0.8326 MB / 0.549 GB, free: 5.195 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.5456, allocations: 67.42 kB / 0.549 GB, free: 5.133 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5456, allocations: 0 / 0.549 GB, free: 5.133 MB / 462.1 MB Notification: Performance of Templates: time 0.05267/0.5982, allocations: 34.18 MB / 0.5824 GB, free: 2.953 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 15.945527065894566]