Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.00105, allocations: 54.83 kB / 301.3 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09242/0.09349, allocations: 49.44 MB / 350.7 MB, free: 4.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3392/0.4327, allocations: 151.4 MB / 0.4904 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.4345, allocations: 1.597 MB / 0.4919 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.4346, allocations: 0 / 0.4919 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003792/0.435, allocations: 59.64 kB / 0.492 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.4354, allocations: 157.6 kB / 0.4922 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.4383, allocations: 1.018 MB / 0.4931 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.4387, allocations: 330.9 kB / 0.4935 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.4388, allocations: 6.859 kB / 0.4935 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.4391, allocations: 151.5 kB / 0.4936 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.4393, allocations: 123.6 kB / 0.4937 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.4393, allocations: 16 kB / 0.4937 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.442, allocations: 1.548 MB / 0.4953 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.4421, allocations: 63.86 kB / 0.4953 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.4423, allocations: 99.56 kB / 0.4954 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.4439, allocations: 0.9939 MB / 0.4964 GB, free: 7.152 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4439, allocations: 0 / 0.4964 GB, free: 7.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4439, allocations: 0 / 0.4964 GB, free: 7.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4439, allocations: 0 / 0.4964 GB, free: 7.152 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001798/0.4457, allocations: 0.6739 MB / 0.497 GB, free: 6.434 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4458, allocations: 12.03 kB / 0.4971 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.4459, allocations: 20.83 kB / 0.4971 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.4462, allocations: 223.5 kB / 0.4973 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4462, allocations: 12.33 kB / 0.4973 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.4463, allocations: 16 kB / 0.4973 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.4468, allocations: 257.4 kB / 0.4976 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4469, allocations: 8 kB / 0.4976 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.4469, allocations: 4 kB / 0.4976 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.4469, allocations: 15.84 kB / 0.4976 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.4476, allocations: 263.7 kB / 0.4978 GB, free: 5.574 MB / 414.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.001443/0.449, allocations: 0.7858 MB / 0.4986 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.4497, allocations: 229.1 kB / 0.4988 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.45, allocations: 129.6 kB / 0.4989 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.4504, allocations: 360.3 kB / 0.4993 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.4504, allocations: 38.56 kB / 0.4993 GB, free: 3.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.864e-06/0.4504, allocations: 0 / 0.4993 GB, free: 3.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002517/0.453, allocations: 0.6727 MB / 0.5 GB, free: 3.184 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.453, allocations: 85.05 kB / 0.5001 GB, free: 3.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4531, allocations: 121.8 kB / 0.5002 GB, free: 2.953 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4532, allocations: 33.7 kB / 0.5002 GB, free: 2.914 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.4533, allocations: 108.8 kB / 0.5003 GB, free: 2.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.4533, allocations: 122.2 kB / 0.5004 GB, free: 2.684 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4535, allocations: 69.58 kB / 0.5005 GB, free: 2.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4536, allocations: 330.8 kB / 0.5008 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.454, allocations: 136.7 kB / 0.5009 GB, free: 2.145 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.4544, allocations: 207.6 kB / 0.5011 GB, free: 1.914 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008091/0.4553, allocations: 361.6 kB / 0.5015 GB, free: 1.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4553, allocations: 4 kB / 0.5015 GB, free: 1.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009655/0.4562, allocations: 407 kB / 0.5019 GB, free: 1.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4563, allocations: 8 kB / 0.5019 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4563, allocations: 0 / 0.5019 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4563, allocations: 7.984 kB / 0.5019 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005092/0.4568, allocations: 90.06 kB / 0.502 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4568, allocations: 8.219 kB / 0.502 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.4572, allocations: 27.92 kB / 0.502 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.4572, allocations: 23.92 kB / 0.502 GB, free: 0.9727 MB / 414.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.0001478/0.4574, allocations: 129.8 kB / 0.5022 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.379e-05/0.4575, allocations: 21.97 kB / 0.5022 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.4579, allocations: 184.7 kB / 0.5024 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4579, allocations: 4 kB / 0.5024 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.4579, allocations: 4 kB / 0.5024 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4579, allocations: 3.984 kB / 0.5024 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.4596, allocations: 0.7519 MB / 0.5031 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4596, allocations: 4 kB / 0.5031 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.4601, allocations: 71.89 kB / 0.5032 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4601, allocations: 4 kB / 0.5032 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.4601, allocations: 11.98 kB / 0.5032 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.4601, allocations: 12.09 kB / 0.5032 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4601, allocations: 0 / 0.5032 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.4615, allocations: 0.7146 MB / 0.5039 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.4617, allocations: 121 kB / 0.504 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.4617, allocations: 11.86 kB / 0.504 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.4621, allocations: 19.98 kB / 0.504 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.4622, allocations: 23.97 kB / 0.5041 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.4622, allocations: 15.98 kB / 0.5041 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.201e-05/0.4623, allocations: 96.02 kB / 0.5042 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4623, allocations: 0 / 0.5042 GB, free: 14.64 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006059/0.4629, allocations: 147.9 kB / 0.5043 GB, free: 14.5 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.0004701/0.4634, allocations: 222.9 kB / 0.5045 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009522/0.4643, allocations: 369.2 kB / 0.5049 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4643, allocations: 4 kB / 0.5049 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.4648, allocations: 180.5 kB / 0.5051 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.4655, allocations: 98.09 kB / 0.5052 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.467, allocations: 0.6499 MB / 0.5058 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.4673, allocations: 0.737 MB / 0.5065 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.4675, allocations: 43.41 kB / 0.5065 GB, free: 12.14 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4675, allocations: 0 / 0.5065 GB, free: 12.14 MB / 430.1 MB Notification: Performance of Templates: time 0.007116/0.4746, allocations: 4.36 MB / 0.5108 GB, free: 7.773 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches