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.001535/0.001535, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.28 kB / 308.3 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08157/0.08271, allocations: 50.54 MB / 358.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2871/0.3698, allocations: 154.5 MB / 0.5013 GB, free: 208 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3715, allocations: 1.61 MB / 0.5029 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.3716, allocations: 0 / 0.5029 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.3719, allocations: 66.55 kB / 0.5029 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.3723, allocations: 178.5 kB / 0.5031 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.3746, allocations: 1.026 MB / 0.5041 GB, free: 13.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.375, allocations: 350.4 kB / 0.5045 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.3751, allocations: 10.97 kB / 0.5045 GB, free: 13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.3753, allocations: 167.4 kB / 0.5046 GB, free: 12.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3755, allocations: 131.5 kB / 0.5047 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.3755, allocations: 12 kB / 0.5048 GB, free: 12.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.3778, allocations: 1.622 MB / 0.5063 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.3779, allocations: 71.78 kB / 0.5064 GB, free: 11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.378, allocations: 111.5 kB / 0.5065 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.3793, allocations: 1.029 MB / 0.5075 GB, free: 9.863 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3793, allocations: 0 / 0.5075 GB, free: 9.863 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3793, allocations: 0 / 0.5075 GB, free: 9.863 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3794, allocations: 0 / 0.5075 GB, free: 9.863 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.001573/0.3809, allocations: 0.7025 MB / 0.5082 GB, free: 9.113 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.381, allocations: 8.031 kB / 0.5082 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.3811, allocations: 20.75 kB / 0.5082 GB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.3814, allocations: 227.2 kB / 0.5085 GB, free: 8.828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3814, allocations: 12.33 kB / 0.5085 GB, free: 8.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.3814, allocations: 16 kB / 0.5085 GB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.382, allocations: 273.4 kB / 0.5087 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.382, allocations: 0.5 kB / 0.5087 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.382, allocations: 8 kB / 0.5087 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.382, allocations: 4 kB / 0.5088 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000617/0.3827, allocations: 272.8 kB / 0.509 GB, free: 8.246 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.001358/0.384, allocations: 0.7975 MB / 0.5098 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.3846, allocations: 221 kB / 0.51 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.385, allocations: 137.6 kB / 0.5101 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.3853, allocations: 360.4 kB / 0.5105 GB, free: 6.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3853, allocations: 39.59 kB / 0.5105 GB, free: 6.523 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.3853, allocations: 0 / 0.5105 GB, free: 6.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002346/0.3877, allocations: 0.6876 MB / 0.5112 GB, free: 5.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3877, allocations: 81.11 kB / 0.5113 GB, free: 5.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3878, allocations: 140.2 kB / 0.5114 GB, free: 5.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3879, allocations: 37.7 kB / 0.5114 GB, free: 5.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.078e-05/0.3879, allocations: 104.9 kB / 0.5115 GB, free: 5.445 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.388, allocations: 138 kB / 0.5117 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3881, allocations: 65.64 kB / 0.5117 GB, free: 5.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.3882, allocations: 326.8 kB / 0.512 GB, free: 4.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.3886, allocations: 135.9 kB / 0.5122 GB, free: 4.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.389, allocations: 207.3 kB / 0.5124 GB, free: 4.551 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007624/0.3898, allocations: 359.4 kB / 0.5127 GB, free: 4.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3898, allocations: 0 / 0.5127 GB, free: 4.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009185/0.3907, allocations: 409.1 kB / 0.5131 GB, free: 3.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3907, allocations: 8 kB / 0.5131 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3908, allocations: 0 / 0.5131 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3908, allocations: 4 kB / 0.5131 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.3913, allocations: 95.75 kB / 0.5132 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3913, allocations: 4.219 kB / 0.5132 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.3916, allocations: 31.88 kB / 0.5132 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.3917, allocations: 19.94 kB / 0.5133 GB, free: 3.605 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.0001287/0.3918, allocations: 141.7 kB / 0.5134 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.3919, allocations: 19.81 kB / 0.5134 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.3922, allocations: 178.7 kB / 0.5136 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3922, allocations: 4 kB / 0.5136 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3923, allocations: 0 / 0.5136 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3923, allocations: 4 kB / 0.5136 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.3939, allocations: 0.7829 MB / 0.5144 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3939, allocations: 0 / 0.5144 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.3944, allocations: 71.89 kB / 0.5144 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.3944, allocations: 4 kB / 0.5144 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.3944, allocations: 15.98 kB / 0.5144 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3944, allocations: 4 kB / 0.5144 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3944, allocations: 4 kB / 0.5144 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.3957, allocations: 0.7106 MB / 0.5151 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3959, allocations: 116.9 kB / 0.5153 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.396, allocations: 13.56 kB / 0.5153 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.3963, allocations: 20.05 kB / 0.5153 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3964, allocations: 23.97 kB / 0.5153 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.3964, allocations: 15.98 kB / 0.5153 GB, free: 1.34 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.722e-05/0.3965, allocations: 110 kB / 0.5154 GB, free: 1.234 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3965, allocations: 0 / 0.5154 GB, free: 1.234 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.397, allocations: 151.9 kB / 0.5156 GB, free: 1.086 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.0004184/0.3975, allocations: 254.8 kB / 0.5158 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008427/0.3983, allocations: 354 kB / 0.5162 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3983, allocations: 0 / 0.5162 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3987, allocations: 180.3 kB / 0.5163 GB, free: 320 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.3994, allocations: 105.3 kB / 0.5164 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.4008, allocations: 0.6341 MB / 0.517 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.4011, allocations: 0.7412 MB / 0.5178 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.4014, allocations: 82.22 kB / 0.5178 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.4015, allocations: 35.42 kB / 0.5179 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4015, allocations: 0 / 0.5179 GB, free: 14.66 MB / 446.1 MB Notification: Performance of Templates: time 0.01002/0.4115, allocations: 6.321 MB / 0.5241 GB, free: 8.383 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches