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.001258/0.001258, allocations: 110.1 kB / 17.16 MB, free: 6.082 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.001321/0.001321, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.385/1.385, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 46.61 kB / 300.6 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 49.45 MB / 350 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.366/0.4778, allocations: 149.3 MB / 499.3 MB, free: 15.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.4801, allocations: 1.609 MB / 0.4892 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.4803, allocations: 0 / 0.4892 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.4807, allocations: 50.67 kB / 0.4893 GB, free: 14.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.4813, allocations: 149.4 kB / 0.4894 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.4844, allocations: 0.8932 MB / 0.4903 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006355/0.4851, allocations: 486.6 kB / 0.4907 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.4852, allocations: 9.453 kB / 0.4907 GB, free: 12.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.4855, allocations: 140.9 kB / 0.4909 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.4858, allocations: 127.6 kB / 0.491 GB, free: 12.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.4859, allocations: 12 kB / 0.491 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/0.489, allocations: 1.645 MB / 0.4926 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.4892, allocations: 71.77 kB / 0.4927 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.4893, allocations: 83.66 kB / 0.4928 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4909, allocations: 0.6978 MB / 0.4934 GB, free: 9.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4909, allocations: 0 / 0.4934 GB, free: 9.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4909, allocations: 4 kB / 0.4935 GB, free: 9.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4909, allocations: 0 / 0.4935 GB, free: 9.926 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.002319/0.4933, allocations: 0.6792 MB / 0.4941 GB, free: 9.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.4933, allocations: 8.031 kB / 0.4941 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.4935, allocations: 16.84 kB / 0.4941 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/0.4938, allocations: 215.5 kB / 0.4943 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.4939, allocations: 16.33 kB / 0.4944 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.265e-05/0.4939, allocations: 16 kB / 0.4944 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000672/0.4946, allocations: 265.4 kB / 0.4946 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4946, allocations: 0 / 0.4946 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.4947, allocations: 8 kB / 0.4946 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.4947, allocations: 4 kB / 0.4946 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.4954, allocations: 267.8 kB / 0.4949 GB, free: 8.352 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.001544/0.4969, allocations: 0.7815 MB / 0.4957 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00064/0.4976, allocations: 221.1 kB / 0.4959 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.4979, allocations: 137.6 kB / 0.496 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.4983, allocations: 360.4 kB / 0.4963 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.4983, allocations: 38.56 kB / 0.4964 GB, free: 6.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.4983, allocations: 0 / 0.4964 GB, free: 6.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002569/0.5009, allocations: 0.6648 MB / 0.497 GB, free: 5.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.501, allocations: 85.11 kB / 0.4971 GB, free: 5.871 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.5011, allocations: 125 kB / 0.4972 GB, free: 5.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.5011, allocations: 33.7 kB / 0.4973 GB, free: 5.703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.5012, allocations: 108.8 kB / 0.4974 GB, free: 5.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.921e-05/0.5013, allocations: 118.2 kB / 0.4975 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5015, allocations: 77.53 kB / 0.4976 GB, free: 5.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5016, allocations: 330.8 kB / 0.4979 GB, free: 5.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.502, allocations: 135.9 kB / 0.498 GB, free: 4.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.5024, allocations: 212.3 kB / 0.4982 GB, free: 4.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.5032, allocations: 356 kB / 0.4985 GB, free: 4.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5032, allocations: 3.984 kB / 0.4985 GB, free: 4.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009632/0.5042, allocations: 407 kB / 0.4989 GB, free: 3.918 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5042, allocations: 4 kB / 0.4989 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5042, allocations: 4 kB / 0.4989 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.5043, allocations: 4.219 kB / 0.4989 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/0.5048, allocations: 93.75 kB / 0.499 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.5048, allocations: 7.984 kB / 0.499 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.5052, allocations: 27.92 kB / 0.4991 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.5052, allocations: 19.92 kB / 0.4991 GB, free: 3.762 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.0001715/0.5054, allocations: 137.7 kB / 0.4992 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.5055, allocations: 23.81 kB / 0.4992 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.5059, allocations: 170.4 kB / 0.4994 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5059, allocations: 4 kB / 0.4994 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.5059, allocations: 4 kB / 0.4994 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5059, allocations: 0 / 0.4994 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.5077, allocations: 0.7587 MB / 0.5002 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.5077, allocations: 4.375 kB / 0.5002 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004441/0.5081, allocations: 80.05 kB / 0.5002 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.5081, allocations: 4 kB / 0.5002 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.5082, allocations: 11.98 kB / 0.5002 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.5082, allocations: 7.938 kB / 0.5003 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5082, allocations: 7.688 kB / 0.5003 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.5096, allocations: 0.7114 MB / 0.501 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5097, allocations: 120.9 kB / 0.5011 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.5098, allocations: 7.984 kB / 0.5011 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.5102, allocations: 27.92 kB / 0.5011 GB, free: 1.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.5102, allocations: 24.03 kB / 0.5011 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.5103, allocations: 19.98 kB / 0.5011 GB, free: 1.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.461e-05/0.5103, allocations: 95.2 kB / 0.5012 GB, free: 1.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5104, allocations: 0 / 0.5012 GB, free: 1.418 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006127/0.511, allocations: 139.9 kB / 0.5014 GB, free: 1.281 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.0005411/0.5115, allocations: 230.9 kB / 0.5016 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009198/0.5125, allocations: 332.4 kB / 0.5019 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5125, allocations: 0 / 0.5019 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004092/0.5129, allocations: 183.6 kB / 0.5021 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000721/0.5136, allocations: 99.53 kB / 0.5022 GB, free: 460 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.5152, allocations: 0.717 MB / 0.5029 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5155, allocations: 0.7335 MB / 0.5036 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.5157, allocations: 43.41 kB / 0.5036 GB, free: 14.89 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5157, allocations: 288 / 0.5036 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Templates: time 0.007775/0.5235, allocations: 4.363 MB / 0.5079 GB, free: 10.52 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