Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, 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.001338/0.001338, 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.422/1.422, allocations: 227.7 MB / 247.7 MB, free: 10.43 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.001936/0.001936, allocations: 58.97 kB / 307.9 MB, free: 0.5625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 50.54 MB / 358.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3497/0.4552, allocations: 154.5 MB / 0.5008 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.4572, allocations: 1.613 MB / 0.5024 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.4574, allocations: 0 / 0.5024 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.4577, allocations: 63.58 kB / 0.5025 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.4582, allocations: 165.7 kB / 0.5026 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.4609, allocations: 1.025 MB / 0.5036 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.4614, allocations: 370.3 kB / 0.504 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.4615, allocations: 13.55 kB / 0.504 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.4618, allocations: 159.5 kB / 0.5042 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.462, allocations: 127.6 kB / 0.5043 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.4621, allocations: 12 kB / 0.5043 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.4649, allocations: 1.585 MB / 0.5058 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.4651, allocations: 79.78 kB / 0.5059 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.4652, allocations: 101.5 kB / 0.506 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.4671, allocations: 1.021 MB / 0.507 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4671, allocations: 4 kB / 0.507 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4671, allocations: 0 / 0.507 GB, free: 10.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4671, allocations: 0 / 0.507 GB, free: 10.45 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.001863/0.469, allocations: 0.6985 MB / 0.5077 GB, free: 9.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4691, allocations: 8.031 kB / 0.5077 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001921/0.4692, allocations: 32.67 kB / 0.5077 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.4695, allocations: 226.8 kB / 0.508 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4696, allocations: 16.33 kB / 0.508 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.4696, allocations: 12 kB / 0.508 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.4702, allocations: 265.4 kB / 0.5082 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4702, allocations: 0 / 0.5082 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.4703, allocations: 12 kB / 0.5082 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.4703, allocations: 4 kB / 0.5082 GB, free: 9.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006761/0.471, allocations: 271.7 kB / 0.5085 GB, free: 8.828 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.001545/0.4725, allocations: 0.7897 MB / 0.5093 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.4732, allocations: 221.1 kB / 0.5095 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.4736, allocations: 141.6 kB / 0.5096 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/0.474, allocations: 360.4 kB / 0.51 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.474, allocations: 36.34 kB / 0.51 GB, free: 7.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 1.904e-06/0.474, allocations: 0 / 0.51 GB, free: 7.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.002527/0.4765, allocations: 0.6772 MB / 0.5107 GB, free: 6.426 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.4766, allocations: 81.11 kB / 0.5107 GB, free: 6.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.4768, allocations: 144.1 kB / 0.5109 GB, free: 6.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.4768, allocations: 33.7 kB / 0.5109 GB, free: 6.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.4769, allocations: 108.9 kB / 0.511 GB, free: 6.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.477, allocations: 130 kB / 0.5111 GB, free: 5.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4771, allocations: 73.64 kB / 0.5112 GB, free: 5.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4773, allocations: 330.8 kB / 0.5115 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/0.4777, allocations: 131.8 kB / 0.5117 GB, free: 5.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.4782, allocations: 207.6 kB / 0.5118 GB, free: 5.133 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.479, allocations: 369.6 kB / 0.5122 GB, free: 4.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.479, allocations: 0 / 0.5122 GB, free: 4.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001012/0.4801, allocations: 407.9 kB / 0.5126 GB, free: 4.348 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4801, allocations: 8 kB / 0.5126 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4801, allocations: 0 / 0.5126 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4801, allocations: 7.984 kB / 0.5126 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.4806, allocations: 87.83 kB / 0.5127 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.4806, allocations: 7.984 kB / 0.5127 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003111/0.481, allocations: 23.89 kB / 0.5127 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.481, allocations: 31.92 kB / 0.5128 GB, free: 4.184 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.0001723/0.4812, allocations: 141.7 kB / 0.5129 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.4813, allocations: 15.81 kB / 0.5129 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.4817, allocations: 175.3 kB / 0.5131 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4817, allocations: 4 kB / 0.5131 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4817, allocations: 0 / 0.5131 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4817, allocations: 7.984 kB / 0.5131 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.4835, allocations: 0.7751 MB / 0.5138 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4836, allocations: 160 / 0.5138 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.484, allocations: 83.88 kB / 0.5139 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.484, allocations: 4 kB / 0.5139 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.4841, allocations: 8 kB / 0.5139 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.4841, allocations: 4 kB / 0.5139 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4841, allocations: 7.938 kB / 0.5139 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.4856, allocations: 0.7144 MB / 0.5146 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.4857, allocations: 124.8 kB / 0.5148 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.4858, allocations: 8 kB / 0.5148 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.4862, allocations: 19.97 kB / 0.5148 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4862, allocations: 35.91 kB / 0.5148 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.4863, allocations: 16.56 kB / 0.5148 GB, free: 1.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.916e-05/0.4864, allocations: 110.2 kB / 0.5149 GB, free: 1.797 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4864, allocations: 0 / 0.5149 GB, free: 1.797 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006318/0.487, allocations: 147.9 kB / 0.5151 GB, free: 1.652 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.0005117/0.4875, allocations: 246.9 kB / 0.5153 GB, free: 1.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009926/0.4885, allocations: 371.7 kB / 0.5157 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4886, allocations: 0 / 0.5157 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.489, allocations: 175.8 kB / 0.5158 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007466/0.4898, allocations: 111.6 kB / 0.5159 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.4913, allocations: 0.6671 MB / 0.5166 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.4917, allocations: 0.7452 MB / 0.5173 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.4919, allocations: 39.36 kB / 0.5174 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4919, allocations: 0 / 0.5174 GB, free: 15.24 MB / 446.1 MB Notification: Performance of Templates: time 0.008021/0.4999, allocations: 4.746 MB / 0.522 GB, free: 10.49 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches