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.001325/0.001325, allocations: 113 kB / 17.68 MB, free: 5.355 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.00127/0.00127, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.336/1.336, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009673/0.0009673, allocations: 55.55 kB / 302 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08389/0.08487, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2956/0.3805, allocations: 151.4 MB / 0.4911 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3822, allocations: 1.601 MB / 0.4927 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.178e-05/0.3823, allocations: 4 kB / 0.4927 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003204/0.3826, allocations: 62.52 kB / 0.4928 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003319/0.383, allocations: 153.1 kB / 0.4929 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002574/0.3856, allocations: 1.023 MB / 0.4939 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.386, allocations: 322.9 kB / 0.4942 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.3861, allocations: 5.453 kB / 0.4942 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.3864, allocations: 156.8 kB / 0.4944 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.3866, allocations: 123.5 kB / 0.4945 GB, free: 9.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.3866, allocations: 12 kB / 0.4945 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.3893, allocations: 1.591 MB / 0.4961 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.3894, allocations: 67.84 kB / 0.4961 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.3895, allocations: 91.64 kB / 0.4962 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.391, allocations: 0.9938 MB / 0.4972 GB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3911, allocations: 4 kB / 0.4972 GB, free: 6.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3911, allocations: 0 / 0.4972 GB, free: 6.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3911, allocations: 0 / 0.4972 GB, free: 6.559 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.001709/0.3928, allocations: 0.6714 MB / 0.4978 GB, free: 5.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3928, allocations: 12.03 kB / 0.4978 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.393, allocations: 16.84 kB / 0.4979 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3933, allocations: 219.5 kB / 0.4981 GB, free: 5.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3933, allocations: 12.33 kB / 0.4981 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/0.3933, allocations: 16 kB / 0.4981 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.3939, allocations: 273.2 kB / 0.4984 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3939, allocations: 0 / 0.4984 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.3939, allocations: 8 kB / 0.4984 GB, free: 5.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3939, allocations: 11.98 kB / 0.4984 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006011/0.3945, allocations: 259.8 kB / 0.4986 GB, free: 4.984 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.001363/0.3959, allocations: 0.7974 MB / 0.4994 GB, free: 4.109 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.3965, allocations: 225.1 kB / 0.4996 GB, free: 3.871 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.3968, allocations: 129.6 kB / 0.4997 GB, free: 3.738 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.3972, allocations: 356.4 kB / 0.5001 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3972, allocations: 34.56 kB / 0.5001 GB, free: 3.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.613e-06/0.3972, allocations: 4 kB / 0.5001 GB, free: 3.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002276/0.3995, allocations: 0.6733 MB / 0.5008 GB, free: 2.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3995, allocations: 85.05 kB / 0.5009 GB, free: 2.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.3996, allocations: 121.8 kB / 0.501 GB, free: 2.359 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.3997, allocations: 33.7 kB / 0.501 GB, free: 2.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.3997, allocations: 100.8 kB / 0.5011 GB, free: 2.219 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.994e-05/0.3998, allocations: 134.2 kB / 0.5012 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.4, allocations: 65.59 kB / 0.5013 GB, free: 2.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4001, allocations: 326.8 kB / 0.5016 GB, free: 1.688 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.4004, allocations: 139.8 kB / 0.5017 GB, free: 1.551 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.4008, allocations: 207.6 kB / 0.5019 GB, free: 1.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.4016, allocations: 364.6 kB / 0.5023 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4016, allocations: 0.875 kB / 0.5023 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008737/0.4025, allocations: 410.6 kB / 0.5027 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4025, allocations: 8 kB / 0.5027 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4025, allocations: 0 / 0.5027 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4025, allocations: 4 kB / 0.5027 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.403, allocations: 83.88 kB / 0.5028 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.403, allocations: 4 kB / 0.5028 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.4033, allocations: 36.5 kB / 0.5028 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.4033, allocations: 21.88 kB / 0.5028 GB, free: 392 kB / 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.0001309/0.4035, allocations: 141.8 kB / 0.503 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.332e-05/0.4036, allocations: 15.81 kB / 0.503 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.4039, allocations: 178.9 kB / 0.5031 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4039, allocations: 7.984 kB / 0.5032 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4039, allocations: 0 / 0.5032 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4039, allocations: 0 / 0.5032 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.4055, allocations: 0.7596 MB / 0.5039 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4055, allocations: 4 kB / 0.5039 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.406, allocations: 79.88 kB / 0.504 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.406, allocations: 4 kB / 0.504 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.406, allocations: 11.98 kB / 0.504 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.406, allocations: 4 kB / 0.504 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.406, allocations: 4 kB / 0.504 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.4073, allocations: 0.7124 MB / 0.5047 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4074, allocations: 120.9 kB / 0.5048 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.4075, allocations: 12 kB / 0.5048 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.4078, allocations: 27.91 kB / 0.5048 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.4079, allocations: 27.91 kB / 0.5049 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.079e-05/0.4079, allocations: 12 kB / 0.5049 GB, free: 14.14 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.408, allocations: 91.27 kB / 0.505 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.408, allocations: 0 / 0.505 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005355/0.4085, allocations: 147.9 kB / 0.5051 GB, free: 13.9 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.0004071/0.4089, allocations: 230.9 kB / 0.5053 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008103/0.4098, allocations: 347.8 kB / 0.5057 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4098, allocations: 0 / 0.5057 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.4101, allocations: 172.3 kB / 0.5058 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006492/0.4108, allocations: 95.84 kB / 0.5059 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.412, allocations: 0.6137 MB / 0.5065 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.4123, allocations: 0.7332 MB / 0.5072 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.4126, allocations: 77.89 kB / 0.5073 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4128, allocations: 35.36 kB / 0.5073 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4128, allocations: 0 / 0.5073 GB, free: 11.54 MB / 430.1 MB Notification: Performance of Templates: time 0.0094/0.4222, allocations: 5.9 MB / 0.5131 GB, free: 5.699 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 -s gbode -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