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.001585/0.001585, allocations: 107.4 kB / 16.92 MB, free: 5.73 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.001849/0.001849, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.327/1.327, allocations: 222.9 MB / 241.5 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009604/0.0009605, allocations: 43.06 kB / 300.6 MB, free: 5.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0806/0.08158, allocations: 49.45 MB / 350 MB, free: 4.469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3035/0.3851, allocations: 151.4 MB / 0.4897 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3868, allocations: 1.601 MB / 0.4913 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.3869, allocations: 0 / 0.4913 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.3872, allocations: 59.64 kB / 0.4913 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.3876, allocations: 153.6 kB / 0.4915 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.3901, allocations: 1.019 MB / 0.4925 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.3904, allocations: 330.9 kB / 0.4928 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.3905, allocations: 14.83 kB / 0.4928 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.3907, allocations: 147.5 kB / 0.493 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.3909, allocations: 123.6 kB / 0.4931 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.45e-05/0.391, allocations: 12 kB / 0.4931 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.3933, allocations: 1.548 MB / 0.4946 GB, free: 8.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.3934, allocations: 71.83 kB / 0.4947 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.3936, allocations: 87.66 kB / 0.4948 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.3949, allocations: 0.9977 MB / 0.4957 GB, free: 7.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.395, allocations: 0 / 0.4957 GB, free: 7.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.395, allocations: 0 / 0.4957 GB, free: 7.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.395, allocations: 4 kB / 0.4957 GB, free: 7.121 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.001653/0.3966, allocations: 0.6714 MB / 0.4964 GB, free: 6.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.3967, allocations: 8.031 kB / 0.4964 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.3968, allocations: 16.84 kB / 0.4964 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.397, allocations: 227.5 kB / 0.4966 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.3971, allocations: 8.328 kB / 0.4966 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.3971, allocations: 16 kB / 0.4966 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.3977, allocations: 257.4 kB / 0.4969 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.3977, allocations: 7.938 kB / 0.4969 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.3978, allocations: 8.875 kB / 0.4969 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3978, allocations: 12 kB / 0.4969 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006526/0.3984, allocations: 259.8 kB / 0.4972 GB, free: 5.551 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.001367/0.3998, allocations: 0.7896 MB / 0.4979 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.4005, allocations: 229.1 kB / 0.4982 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.4008, allocations: 129.6 kB / 0.4983 GB, free: 4.309 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/0.4011, allocations: 364.2 kB / 0.4986 GB, free: 3.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4012, allocations: 37.69 kB / 0.4987 GB, free: 3.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 2.195e-06/0.4012, allocations: 0 / 0.4987 GB, free: 3.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002477/0.4037, allocations: 0.6808 MB / 0.4993 GB, free: 3.156 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4037, allocations: 81.11 kB / 0.4994 GB, free: 3.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.4038, allocations: 121.8 kB / 0.4995 GB, free: 2.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.4039, allocations: 29.7 kB / 0.4996 GB, free: 2.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.4039, allocations: 112.8 kB / 0.4997 GB, free: 2.781 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.404, allocations: 122.2 kB / 0.4998 GB, free: 2.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.4042, allocations: 65.59 kB / 0.4998 GB, free: 2.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.4043, allocations: 334.8 kB / 0.5002 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003909/0.4047, allocations: 135.9 kB / 0.5003 GB, free: 2.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.4051, allocations: 207.5 kB / 0.5005 GB, free: 1.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.406, allocations: 358.9 kB / 0.5008 GB, free: 1.516 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.406, allocations: 4 kB / 0.5008 GB, free: 1.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009773/0.407, allocations: 410.4 kB / 0.5012 GB, free: 1.105 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.407, allocations: 8 kB / 0.5012 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.407, allocations: 0 / 0.5012 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.407, allocations: 4 kB / 0.5012 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.4075, allocations: 87.88 kB / 0.5013 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4075, allocations: 4 kB / 0.5013 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.4079, allocations: 32.12 kB / 0.5014 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.4079, allocations: 19.94 kB / 0.5014 GB, free: 0.9531 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.0001408/0.4081, allocations: 137.8 kB / 0.5015 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.4081, allocations: 19.81 kB / 0.5015 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.4085, allocations: 181.8 kB / 0.5017 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4085, allocations: 4 kB / 0.5017 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.4085, allocations: 4 kB / 0.5017 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4085, allocations: 0 / 0.5017 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.4102, allocations: 0.7625 MB / 0.5024 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4103, allocations: 10.7 kB / 0.5025 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.4107, allocations: 71.89 kB / 0.5025 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4107, allocations: 4 kB / 0.5025 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.4108, allocations: 11.98 kB / 0.5025 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.4108, allocations: 4 kB / 0.5025 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4108, allocations: 0 / 0.5025 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.4122, allocations: 0.7198 MB / 0.5032 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.4123, allocations: 116.9 kB / 0.5034 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.4124, allocations: 8 kB / 0.5034 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.4127, allocations: 24.03 kB / 0.5034 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.4128, allocations: 27.91 kB / 0.5034 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.4128, allocations: 19.98 kB / 0.5034 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.316e-05/0.4129, allocations: 87.28 kB / 0.5035 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4129, allocations: 0 / 0.5035 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.4135, allocations: 139.9 kB / 0.5037 GB, free: 14.48 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.0004607/0.414, allocations: 230.9 kB / 0.5039 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009638/0.4149, allocations: 359.9 kB / 0.5042 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.415, allocations: 4 kB / 0.5042 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.4154, allocations: 176.5 kB / 0.5044 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.4161, allocations: 100.9 kB / 0.5045 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.4175, allocations: 0.6217 MB / 0.5051 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4178, allocations: 0.7332 MB / 0.5058 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.4182, allocations: 77.91 kB / 0.5059 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.4183, allocations: 31.42 kB / 0.5059 GB, free: 12.09 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4184, allocations: 0 / 0.5059 GB, free: 12.09 MB / 430.1 MB Notification: Performance of Templates: time 0.009993/0.4284, allocations: 5.906 MB / 0.5117 GB, free: 6.238 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