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.001119/0.001119, allocations: 95.27 kB / 16.65 MB, free: 6.535 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.001346/0.001346, allocations: 173.8 kB / 17.56 MB, free: 6.184 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.399/1.399, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002738, allocations: 11.94 kB / 301.4 MB, free: 6.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08874, allocations: 50.41 MB / 351.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2994/0.3882, allocations: 147.4 MB / 499.2 MB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3899, allocations: 1.582 MB / 0.489 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.509e-05/0.3899, allocations: 3.938 kB / 0.489 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.3902, allocations: 54.64 kB / 0.4891 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.3905, allocations: 144.1 kB / 0.4892 GB, free: 444 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.3929, allocations: 0.8985 MB / 0.4901 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.3933, allocations: 486.6 kB / 0.4906 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.3934, allocations: 9.453 kB / 0.4906 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.3936, allocations: 136.9 kB / 0.4907 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.3938, allocations: 127.6 kB / 0.4908 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.3939, allocations: 8 kB / 0.4908 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.3962, allocations: 1.657 MB / 0.4924 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.3963, allocations: 59.8 kB / 0.4925 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.3964, allocations: 121.3 kB / 0.4926 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.3978, allocations: 1.021 MB / 0.4936 GB, free: 11.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3978, allocations: 0 / 0.4936 GB, free: 11.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3978, allocations: 0 / 0.4936 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3978, allocations: 3.938 kB / 0.4936 GB, free: 11.93 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.001593/0.3994, allocations: 0.6364 MB / 0.4942 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.3995, allocations: 8.031 kB / 0.4943 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.3996, allocations: 24.73 kB / 0.4943 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.3998, allocations: 219.3 kB / 0.4945 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3999, allocations: 20.25 kB / 0.4945 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.3999, allocations: 16 kB / 0.4945 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005463/0.4005, allocations: 261.4 kB / 0.4948 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4005, allocations: 0 / 0.4948 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.4005, allocations: 12 kB / 0.4948 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.4005, allocations: 4 kB / 0.4948 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006372/0.4012, allocations: 267.7 kB / 0.495 GB, free: 10.39 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.00134/0.4025, allocations: 0.7786 MB / 0.4958 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006173/0.4032, allocations: 225.1 kB / 0.496 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.4035, allocations: 133.6 kB / 0.4961 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/0.4038, allocations: 352.4 kB / 0.4965 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4039, allocations: 50.48 kB / 0.4965 GB, free: 8.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.773e-06/0.4039, allocations: 0 / 0.4965 GB, free: 8.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002509/0.4064, allocations: 0.6639 MB / 0.4972 GB, free: 8.012 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.4065, allocations: 81.11 kB / 0.4973 GB, free: 7.914 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.4066, allocations: 125.8 kB / 0.4974 GB, free: 7.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.4066, allocations: 37.64 kB / 0.4974 GB, free: 7.738 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.4067, allocations: 108.8 kB / 0.4975 GB, free: 7.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.126e-05/0.4068, allocations: 126.2 kB / 0.4976 GB, free: 7.504 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-05/0.4069, allocations: 33.7 kB / 0.4977 GB, free: 7.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.407, allocations: 322.8 kB / 0.498 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.4073, allocations: 135.9 kB / 0.4981 GB, free: 7.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004135/0.4078, allocations: 207.5 kB / 0.4983 GB, free: 6.777 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.4086, allocations: 363.4 kB / 0.4986 GB, free: 6.395 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4086, allocations: 0 / 0.4986 GB, free: 6.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009661/0.4096, allocations: 410.2 kB / 0.499 GB, free: 5.992 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4096, allocations: 4 kB / 0.499 GB, free: 5.988 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.4096, allocations: 7.984 kB / 0.499 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.4096, allocations: 4.562 kB / 0.4991 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.4101, allocations: 88.09 kB / 0.4991 GB, free: 5.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.4102, allocations: 11.94 kB / 0.4991 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.4105, allocations: 27.83 kB / 0.4992 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.4106, allocations: 23.92 kB / 0.4992 GB, free: 5.828 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.0001397/0.4107, allocations: 137.8 kB / 0.4993 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.4108, allocations: 17.12 kB / 0.4993 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003788/0.4112, allocations: 186.2 kB / 0.4995 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4112, allocations: 4 kB / 0.4995 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4112, allocations: 4 kB / 0.4995 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.4112, allocations: 7.922 kB / 0.4995 GB, free: 5.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.4129, allocations: 0.7605 MB / 0.5003 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4129, allocations: 0 / 0.5003 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.4133, allocations: 79.88 kB / 0.5004 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.4133, allocations: 8.156 kB / 0.5004 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.4134, allocations: 8 kB / 0.5004 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.4134, allocations: 7.062 kB / 0.5004 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.4134, allocations: 7.938 kB / 0.5004 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.4148, allocations: 0.7033 MB / 0.5011 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.4149, allocations: 120.9 kB / 0.5012 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.415, allocations: 8.375 kB / 0.5012 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.4153, allocations: 19.92 kB / 0.5012 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.4154, allocations: 31.84 kB / 0.5012 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.4154, allocations: 19.98 kB / 0.5013 GB, free: 3.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.718e-05/0.4155, allocations: 99.27 kB / 0.5014 GB, free: 3.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4155, allocations: 4 kB / 0.5014 GB, free: 3.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005729/0.4161, allocations: 135.9 kB / 0.5015 GB, free: 3.34 MB / 414.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.0004383/0.4165, allocations: 227 kB / 0.5017 GB, free: 3.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008795/0.4174, allocations: 335.9 kB / 0.502 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4174, allocations: 4.438 kB / 0.502 GB, free: 2.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.4179, allocations: 174.1 kB / 0.5022 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.4186, allocations: 96.14 kB / 0.5023 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.42, allocations: 0.7464 MB / 0.503 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.4203, allocations: 0.7335 MB / 0.5037 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.4208, allocations: 77.89 kB / 0.5038 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4209, allocations: 39.36 kB / 0.5038 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of SimCode: time 4.4e-07/0.4209, allocations: 0 / 0.5038 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of Templates: time 0.009742/0.4307, allocations: 5.681 MB / 0.5094 GB, free: 11.23 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/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_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches