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.001529/0.001529, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001709/0.001709, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.394/1.394, allocations: 230.5 MB / 258.1 MB, free: 8.133 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.001916/0.001916, allocations: 63.84 kB / 378.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2601, allocations: 53.32 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06229/0.3224, allocations: 51.15 MB / 483.2 MB, free: 4.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00806/0.3305, allocations: 5.242 MB / 488.4 MB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004144/0.3309, allocations: 7.938 kB / 488.5 MB, free: 14.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009045/0.3318, allocations: 254.6 kB / 488.7 MB, free: 14.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.3328, allocations: 377.9 kB / 489.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0196/0.3524, allocations: 7.146 MB / 496.2 MB, free: 7.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.3542, allocations: 1.103 MB / 497.3 MB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002722/0.3544, allocations: 97.56 kB / 497.4 MB, free: 5.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007283/0.3617, allocations: 3.636 MB / 0.4893 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009119/0.3626, allocations: 426.5 kB / 0.4897 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.3628, allocations: 56 kB / 0.4898 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02055/0.3834, allocations: 10.11 MB / 0.4996 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.3838, allocations: 235.4 kB / 0.4999 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000555/0.3843, allocations: 306.9 kB / 0.5002 GB, free: 7.031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.3977, allocations: 5.53 MB / 0.5056 GB, free: 1.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3977, allocations: 0 / 0.5056 GB, free: 1.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.3977, allocations: 4 kB / 0.5056 GB, free: 1.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.666e-05/0.3977, allocations: 0 / 0.5056 GB, free: 1.484 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.003711/0.4014, allocations: 1.406 MB / 0.5069 GB, free: 24 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.4015, allocations: 12.03 kB / 0.5069 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004071/0.4019, allocations: 63.84 kB / 0.507 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.4025, allocations: 371.5 kB / 0.5074 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.4025, allocations: 29 kB / 0.5074 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.971e-05/0.4026, allocations: 44 kB / 0.5074 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.404, allocations: 0.5882 MB / 0.508 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4041, allocations: 4 kB / 0.508 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.4041, allocations: 16 kB / 0.508 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.4041, allocations: 12 kB / 0.508 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.4057, allocations: 0.7456 MB / 0.5088 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01806/0.4237, allocations: 11.97 MB / 0.5205 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.4251, allocations: 0.5083 MB / 0.521 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/0.4255, allocations: 238.1 kB / 0.5212 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/0.4417, allocations: 11.88 MB / 0.5328 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.4418, allocations: 43 kB / 0.5328 GB, free: 1.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.686e-06/0.4418, allocations: 8 kB / 0.5328 GB, free: 1.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006314/0.4481, allocations: 2.113 MB / 0.5349 GB, free: 14.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.4481, allocations: 55.97 kB / 0.5349 GB, free: 14.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.4485, allocations: 322.9 kB / 0.5353 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.4486, allocations: 37.7 kB / 0.5353 GB, free: 14.41 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.4488, allocations: 200.8 kB / 0.5355 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.449, allocations: 202.2 kB / 0.5357 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.4492, allocations: 118.1 kB / 0.5358 GB, free: 13.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4494, allocations: 346.8 kB / 0.5361 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.4498, allocations: 245 kB / 0.5364 GB, free: 13.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.4504, allocations: 335.4 kB / 0.5367 GB, free: 12.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.4517, allocations: 0.6073 MB / 0.5373 GB, free: 12.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4517, allocations: 4 kB / 0.5373 GB, free: 12.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001922/0.4536, allocations: 0.7442 MB / 0.538 GB, free: 11.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.4536, allocations: 7.938 kB / 0.538 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4536, allocations: 4 kB / 0.538 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.4542, allocations: 114.7 kB / 0.5381 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.4547, allocations: 123.9 kB / 0.5382 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.4579, allocations: 3.476 MB / 0.5416 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.4582, allocations: 12 kB / 0.5416 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.814e-05/0.4583, allocations: 32.25 kB / 0.5417 GB, free: 7.469 MB / 462.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.0003301/0.4587, allocations: 193.6 kB / 0.5419 GB, free: 7.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.459, allocations: 47.77 kB / 0.5419 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.4607, allocations: 0.815 MB / 0.5427 GB, free: 6.371 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4607, allocations: 4 kB / 0.5427 GB, free: 6.367 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4607, allocations: 8 kB / 0.5427 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.462, allocations: 0.7596 MB / 0.5434 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.4644, allocations: 1.301 MB / 0.5447 GB, free: 4.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.4644, allocations: 4 kB / 0.5447 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.4648, allocations: 95.89 kB / 0.5448 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009426/0.4658, allocations: 152.7 kB / 0.545 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.4658, allocations: 15.98 kB / 0.545 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005026/0.4663, allocations: 0.6485 MB / 0.5456 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4663, allocations: 3.938 kB / 0.5456 GB, free: 3.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.4682, allocations: 0.9056 MB / 0.5465 GB, free: 2.289 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.4683, allocations: 117 kB / 0.5466 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.4684, allocations: 12 kB / 0.5466 GB, free: 2.145 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.4689, allocations: 19.98 kB / 0.5466 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4689, allocations: 40.38 kB / 0.5467 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/0.469, allocations: 24.08 kB / 0.5467 GB, free: 2.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.4694, allocations: 265.8 kB / 0.547 GB, free: 1.805 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4694, allocations: 0 / 0.547 GB, free: 1.805 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004253/0.4736, allocations: 1.337 MB / 0.5483 GB, free: 476 kB / 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.2079/0.6815, allocations: 1.715 MB / 0.5499 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.6833, allocations: 0.7767 MB / 0.5507 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.6833, allocations: 0 / 0.5507 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005481/0.6838, allocations: 278.8 kB / 0.551 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.6853, allocations: 275.8 kB / 0.5512 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.6872, allocations: 1.162 MB / 0.5524 GB, free: 122.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.6875, allocations: 0.8357 MB / 0.5532 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.6877, allocations: 66.73 kB / 0.5532 GB, free: 121.4 MB / 462.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6877, allocations: 0 / 0.5532 GB, free: 121.4 MB / 462.1 MB Notification: Performance of Templates: time 0.03844/0.7261, allocations: 34.17 MB / 0.5866 GB, free: 94.18 MB / 462.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.258729998022318]