Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007806/0.0007807, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009692/0.0009693, allocations: 206.1 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001949/0.0001949, allocations: 4.281 kB / 307.7 MB, free: 0.8125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08036/0.08057, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.303/0.3836, allocations: 150.4 MB / 0.4977 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3854, allocations: 1.591 MB / 0.4992 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.3854, allocations: 0 / 0.4992 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.3857, allocations: 66.95 kB / 0.4993 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.3861, allocations: 163.9 kB / 0.4995 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.3884, allocations: 0.886 MB / 0.5003 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005143/0.3889, allocations: 0.5021 MB / 0.5008 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.389, allocations: 13.55 kB / 0.5008 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.3892, allocations: 143.5 kB / 0.501 GB, free: 1.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.3895, allocations: 147.5 kB / 0.5011 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.3895, allocations: 12 kB / 0.5011 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.3921, allocations: 1.681 MB / 0.5028 GB, free: 76 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.3922, allocations: 63.78 kB / 0.5028 GB, free: 12 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3923, allocations: 125.4 kB / 0.5029 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.3937, allocations: 1.06 MB / 0.504 GB, free: 14.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3937, allocations: 0 / 0.504 GB, free: 14.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3937, allocations: 4 kB / 0.504 GB, free: 14.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.3937, allocations: 0 / 0.504 GB, free: 14.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001575/0.3953, allocations: 0.6635 MB / 0.5046 GB, free: 14.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3953, allocations: 12.03 kB / 0.5046 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3955, allocations: 28.59 kB / 0.5047 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3957, allocations: 227.4 kB / 0.5049 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.3957, allocations: 8.328 kB / 0.5049 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.3958, allocations: 20 kB / 0.5049 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.3963, allocations: 265.4 kB / 0.5052 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3964, allocations: 0 / 0.5052 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.3964, allocations: 7.938 kB / 0.5052 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.3964, allocations: 8 kB / 0.5052 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.3971, allocations: 268.8 kB / 0.5054 GB, free: 13.23 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.3985, allocations: 0.7895 MB / 0.5062 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.3991, allocations: 225.1 kB / 0.5064 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.3995, allocations: 133.6 kB / 0.5065 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002952/0.3998, allocations: 360.4 kB / 0.5069 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.3998, allocations: 45.69 kB / 0.5069 GB, free: 11.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.663e-06/0.3998, allocations: 0 / 0.5069 GB, free: 11.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002518/0.4023, allocations: 0.6784 MB / 0.5076 GB, free: 10.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4024, allocations: 89.11 kB / 0.5077 GB, free: 10.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4025, allocations: 141.8 kB / 0.5078 GB, free: 10.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.4026, allocations: 29.7 kB / 0.5078 GB, free: 10.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.4026, allocations: 108.8 kB / 0.508 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.4027, allocations: 134.1 kB / 0.5081 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.4028, allocations: 33.7 kB / 0.5081 GB, free: 10.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.4029, allocations: 326.8 kB / 0.5084 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.4033, allocations: 143.8 kB / 0.5086 GB, free: 9.797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.4038, allocations: 199.6 kB / 0.5088 GB, free: 9.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008479/0.4046, allocations: 359.4 kB / 0.5091 GB, free: 9.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.4046, allocations: 0 / 0.5091 GB, free: 9.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00103/0.4057, allocations: 416.1 kB / 0.5095 GB, free: 8.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4057, allocations: 11.94 kB / 0.5095 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4057, allocations: 0 / 0.5095 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4057, allocations: 4 kB / 0.5095 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.4062, allocations: 92.09 kB / 0.5096 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.4062, allocations: 7.938 kB / 0.5096 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.4066, allocations: 27.88 kB / 0.5096 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.4066, allocations: 19.94 kB / 0.5096 GB, free: 8.625 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.4068, allocations: 145.7 kB / 0.5098 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.582e-05/0.4069, allocations: 23.81 kB / 0.5098 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003764/0.4073, allocations: 170.7 kB / 0.51 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4073, allocations: 4 kB / 0.51 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4073, allocations: 11.94 kB / 0.51 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4073, allocations: 0 / 0.51 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4092, allocations: 0.7775 MB / 0.5107 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4092, allocations: 0 / 0.5107 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004629/0.4096, allocations: 71.89 kB / 0.5108 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4097, allocations: 4.156 kB / 0.5108 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.4097, allocations: 19.98 kB / 0.5108 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4097, allocations: 11.88 kB / 0.5108 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.4097, allocations: 4 kB / 0.5109 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.4112, allocations: 0.7143 MB / 0.5115 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4113, allocations: 120.9 kB / 0.5117 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.4114, allocations: 8 kB / 0.5117 GB, free: 6.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.4118, allocations: 18.3 kB / 0.5117 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.4118, allocations: 23.97 kB / 0.5117 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.4119, allocations: 15.98 kB / 0.5117 GB, free: 6.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.4119, allocations: 107.3 kB / 0.5118 GB, free: 6.242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4119, allocations: 0 / 0.5118 GB, free: 6.242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.4125, allocations: 151.9 kB / 0.512 GB, free: 6.094 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004688/0.413, allocations: 242.8 kB / 0.5122 GB, free: 5.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009082/0.4139, allocations: 345.7 kB / 0.5125 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4139, allocations: 448 / 0.5125 GB, free: 5.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.4144, allocations: 179.7 kB / 0.5127 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.4152, allocations: 104.2 kB / 0.5128 GB, free: 5.234 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4166, allocations: 0.7751 MB / 0.5136 GB, free: 4.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.4169, allocations: 0.7416 MB / 0.5143 GB, free: 3.652 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003814/0.4173, allocations: 74.23 kB / 0.5144 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.4175, allocations: 43.41 kB / 0.5144 GB, free: 3.539 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4175, allocations: 0 / 0.5144 GB, free: 3.539 MB / 430.1 MB Notification: Performance of Templates: time 0.01068/0.4282, allocations: 6.078 MB / 0.5203 GB, free: 13.52 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches