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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.464/1.464, allocations: 227.7 MB / 247.7 MB, free: 10.34 MB / 206.1 MB 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.001958/0.001958, allocations: 55.19 kB / 307.9 MB, free: 0.5234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1066, allocations: 50.53 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2262/0.3328, allocations: 50.66 MB / 409.1 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007036/0.3399, allocations: 5.2 MB / 414.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.3402, allocations: 4.281 kB / 414.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008176/0.3411, allocations: 252.5 kB / 414.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000739/0.3418, allocations: 363.4 kB / 414.9 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0203/0.3621, allocations: 7.115 MB / 422 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.3637, allocations: 1.098 MB / 423.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.3641, allocations: 153.5 kB / 423.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007596/0.3717, allocations: 3.59 MB / 426.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007287/0.3725, allocations: 402.6 kB / 427.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.3726, allocations: 60 kB / 427.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02042/0.393, allocations: 9.774 MB / 437.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000423/0.3935, allocations: 243.3 kB / 437.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005378/0.3941, allocations: 302.9 kB / 437.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01567/0.4097, allocations: 5.516 MB / 443.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4098, allocations: 0 / 443.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4098, allocations: 0 / 443.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.4098, allocations: 0 / 443.1 MB, free: 6.535 MB / 350.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.003699/0.4135, allocations: 1.365 MB / 444.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4136, allocations: 12.03 kB / 444.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/0.414, allocations: 59.42 kB / 444.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/0.4145, allocations: 366.8 kB / 444.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.964e-05/0.4146, allocations: 33 kB / 444.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.4147, allocations: 40 kB / 445 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.416, allocations: 0.5843 MB / 445.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4161, allocations: 8 kB / 445.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/0.4161, allocations: 20 kB / 445.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.4162, allocations: 8 kB / 445.6 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.4176, allocations: 0.7495 MB / 446.3 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.4361, allocations: 11.97 MB / 458.3 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.4375, allocations: 0.5205 MB / 458.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.438, allocations: 258 kB / 459.1 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01638/0.4544, allocations: 11.9 MB / 471 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.4545, allocations: 46.94 kB / 471 MB, free: 6.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.755e-06/0.4545, allocations: 0 / 471 MB, free: 6.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.006191/0.4607, allocations: 2.11 MB / 473.1 MB, free: 3.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.4608, allocations: 59.95 kB / 473.2 MB, free: 3.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.4612, allocations: 322.9 kB / 473.5 MB, free: 3.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.4613, allocations: 33.7 kB / 473.5 MB, free: 3.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4615, allocations: 208.3 kB / 473.7 MB, free: 3.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.4616, allocations: 185.3 kB / 473.9 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.4618, allocations: 118.1 kB / 474 MB, free: 2.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.462, allocations: 346.8 kB / 474.4 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.4624, allocations: 237 kB / 474.6 MB, free: 2.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.4631, allocations: 351.2 kB / 475 MB, free: 2.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.4644, allocations: 0.5995 MB / 475.6 MB, free: 1.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4644, allocations: 4 kB / 475.6 MB, free: 1.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001944/0.4664, allocations: 0.7557 MB / 476.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4664, allocations: 8 kB / 476.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4664, allocations: 0 / 476.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.467, allocations: 106.6 kB / 476.4 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.4675, allocations: 131.8 kB / 476.6 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003027/0.4706, allocations: 3.464 MB / 480 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.471, allocations: 16.03 kB / 480 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.4711, allocations: 35.92 kB / 480.1 MB, free: 12.54 MB / 398.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.0003424/0.4714, allocations: 201.8 kB / 480.3 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.4718, allocations: 43.53 kB / 480.3 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.4735, allocations: 0.8113 MB / 481.1 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.4735, allocations: 4 kB / 481.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4735, allocations: 3.984 kB / 481.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/0.4747, allocations: 0.7596 MB / 481.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.4771, allocations: 1.301 MB / 483.2 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4771, allocations: 4 kB / 483.2 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.4776, allocations: 99.88 kB / 483.3 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009486/0.4786, allocations: 148.6 kB / 483.4 MB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.4786, allocations: 23.92 kB / 483.5 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005042/0.4792, allocations: 0.6407 MB / 484.1 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4792, allocations: 0 / 484.1 MB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.481, allocations: 0.9197 MB / 485 MB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4812, allocations: 112.7 kB / 485.1 MB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.98e-05/0.4813, allocations: 16.03 kB / 485.1 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.4817, allocations: 23.98 kB / 485.2 MB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.4818, allocations: 36.39 kB / 485.2 MB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.868e-05/0.4819, allocations: 23.98 kB / 485.2 MB, free: 7.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000316/0.4822, allocations: 257.9 kB / 485.5 MB, free: 6.879 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4822, allocations: 0 / 485.5 MB, free: 6.879 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004093/0.4863, allocations: 1.323 MB / 486.8 MB, free: 5.555 MB / 398.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.006181/0.4925, allocations: 1.703 MB / 488.5 MB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.4945, allocations: 0.8509 MB / 489.4 MB, free: 2.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4946, allocations: 4.062 kB / 489.4 MB, free: 2.969 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006305/0.4952, allocations: 295 kB / 489.6 MB, free: 2.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.4968, allocations: 276.6 kB / 489.9 MB, free: 2.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.499, allocations: 1.136 MB / 491.1 MB, free: 1.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.4995, allocations: 0.8365 MB / 491.9 MB, free: 380 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.4998, allocations: 67.41 kB / 492 MB, free: 312 kB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4998, allocations: 0 / 492 MB, free: 312 kB / 398.1 MB Notification: Performance of Templates: time 0.05459/0.5544, allocations: 34.08 MB / 0.5137 GB, free: 14.23 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (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) 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) Reference file matches