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.001303/0.001303, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 206 kB / 18.79 MB, free: 4.309 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.432/1.432, allocations: 230.4 MB / 250 MB, free: 9.059 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.001916/0.001916, allocations: 67.84 kB / 367.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2529, allocations: 53.31 MB / 420.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06016/0.3131, allocations: 50.83 MB / 471.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.3198, allocations: 5.207 MB / 476.7 MB, free: 100 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.32, allocations: 4 kB / 476.7 MB, free: 96 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.3207, allocations: 270.5 kB / 477 MB, free: 15.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006175/0.3213, allocations: 366 kB / 477.4 MB, free: 15.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.3383, allocations: 7.154 MB / 484.5 MB, free: 8.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001371/0.3397, allocations: 1.091 MB / 485.6 MB, free: 7.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002133/0.3399, allocations: 105.5 kB / 485.7 MB, free: 7.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006461/0.3464, allocations: 3.621 MB / 489.3 MB, free: 3.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005788/0.3469, allocations: 430.5 kB / 489.7 MB, free: 3.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.347, allocations: 56 kB / 489.8 MB, free: 3.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01748/0.3645, allocations: 10.11 MB / 499.9 MB, free: 8.879 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003365/0.3648, allocations: 235.4 kB / 0.4884 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.3653, allocations: 306.9 kB / 0.4887 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.3761, allocations: 5.534 MB / 0.4941 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3761, allocations: 0 / 0.4941 GB, free: 2.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3761, allocations: 0 / 0.4941 GB, free: 2.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.3762, allocations: 0 / 0.4941 GB, free: 2.801 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.003042/0.3792, allocations: 1.406 MB / 0.4955 GB, free: 1.34 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3792, allocations: 8.031 kB / 0.4955 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/0.3796, allocations: 63.7 kB / 0.4956 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.3801, allocations: 367.1 kB / 0.4959 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.471e-05/0.3801, allocations: 33 kB / 0.4959 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.3802, allocations: 40 kB / 0.496 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.3816, allocations: 0.5882 MB / 0.4966 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3816, allocations: 0 / 0.4966 GB, free: 204 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.3817, allocations: 16 kB / 0.4966 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3817, allocations: 12 kB / 0.4966 GB, free: 176 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.3832, allocations: 0.7456 MB / 0.4973 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01783/0.401, allocations: 11.99 MB / 0.509 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.4023, allocations: 0.5003 MB / 0.5095 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.4027, allocations: 260.5 kB / 0.5098 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/0.4189, allocations: 11.89 MB / 0.5214 GB, free: 2.406 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.419, allocations: 42.94 kB / 0.5214 GB, free: 2.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.224e-06/0.419, allocations: 4 kB / 0.5214 GB, free: 2.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006013/0.425, allocations: 2.117 MB / 0.5235 GB, free: 144 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.425, allocations: 55.97 kB / 0.5235 GB, free: 72 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.4255, allocations: 322.9 kB / 0.5238 GB, free: 15.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.4255, allocations: 33.7 kB / 0.5239 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4257, allocations: 204.8 kB / 0.5241 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.4258, allocations: 202.2 kB / 0.5243 GB, free: 15.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.426, allocations: 114.2 kB / 0.5244 GB, free: 15.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4262, allocations: 350.8 kB / 0.5247 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.4266, allocations: 241 kB / 0.5249 GB, free: 14.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.4273, allocations: 347.3 kB / 0.5253 GB, free: 14.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.4286, allocations: 0.5956 MB / 0.5259 GB, free: 13.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4286, allocations: 0 / 0.5259 GB, free: 13.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001931/0.4305, allocations: 0.748 MB / 0.5266 GB, free: 12.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4305, allocations: 11.94 kB / 0.5266 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4305, allocations: 0 / 0.5266 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004971/0.431, allocations: 110.8 kB / 0.5267 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.4315, allocations: 123.8 kB / 0.5268 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.4344, allocations: 3.472 MB / 0.5302 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.4347, allocations: 15.94 kB / 0.5302 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.4348, allocations: 36.17 kB / 0.5303 GB, free: 8.762 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.0002624/0.4351, allocations: 193.7 kB / 0.5304 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.4353, allocations: 47.72 kB / 0.5305 GB, free: 8.516 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.4371, allocations: 0.8152 MB / 0.5313 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4371, allocations: 8 kB / 0.5313 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4371, allocations: 0 / 0.5313 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.4383, allocations: 0.7635 MB / 0.532 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.4405, allocations: 1.297 MB / 0.5333 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4405, allocations: 0 / 0.5333 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004605/0.441, allocations: 107.8 kB / 0.5334 GB, free: 5.355 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009658/0.4419, allocations: 152.7 kB / 0.5336 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.442, allocations: 16 kB / 0.5336 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004746/0.4425, allocations: 0.6485 MB / 0.5342 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4425, allocations: 3.984 kB / 0.5342 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.4442, allocations: 0.9133 MB / 0.5351 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4443, allocations: 117 kB / 0.5352 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.4444, allocations: 12 kB / 0.5352 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.4448, allocations: 19.98 kB / 0.5352 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.4449, allocations: 32.39 kB / 0.5353 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.445, allocations: 31.98 kB / 0.5353 GB, free: 3.344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003183/0.4453, allocations: 253.9 kB / 0.5355 GB, free: 3.098 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4453, allocations: 0 / 0.5355 GB, free: 3.098 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00335/0.4486, allocations: 1.337 MB / 0.5368 GB, free: 1.758 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.005105/0.4537, allocations: 1.712 MB / 0.5385 GB, free: 40 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1778/0.6315, allocations: 0.7726 MB / 0.5393 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.6315, allocations: 1.031 kB / 0.5393 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006799/0.6322, allocations: 282.2 kB / 0.5395 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.6336, allocations: 277.7 kB / 0.5398 GB, free: 122.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.6354, allocations: 1.098 MB / 0.5409 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.6357, allocations: 0.8333 MB / 0.5417 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004714/0.6361, allocations: 152.1 kB / 0.5418 GB, free: 121.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.6363, allocations: 57.72 kB / 0.5419 GB, free: 121.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.6363, allocations: 0 / 0.5419 GB, free: 121.7 MB / 462.1 MB Notification: Performance of Templates: time 0.0464/0.6827, allocations: 45.29 MB / 0.5861 GB, free: 84.13 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/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