Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 169.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 85.2 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003342, allocations: 11.98 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2497, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3558/0.6056, allocations: 138.5 MB / 0.5016 GB, free: 1.293 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007325/0.6064, allocations: 0.5525 MB / 0.5021 GB, free: 1.285 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.6065, allocations: 7.375 kB / 0.5021 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.6068, allocations: 50.59 kB / 0.5022 GB, free: 1.281 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.6072, allocations: 143.6 kB / 0.5023 GB, free: 1.277 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.6103, allocations: 0.9051 MB / 0.5032 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.6108, allocations: 400.5 kB / 0.5036 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.618e-05/0.6109, allocations: 7.297 kB / 0.5036 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003156/0.6112, allocations: 138.6 kB / 0.5037 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.6114, allocations: 126.7 kB / 0.5038 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.6115, allocations: 9.375 kB / 0.5038 GB, free: 1.234 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.6146, allocations: 1.658 MB / 0.5055 GB, free: 1.215 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6147, allocations: 63.2 kB / 0.5055 GB, free: 1.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.6148, allocations: 114.6 kB / 0.5056 GB, free: 1.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.6161, allocations: 0.6853 MB / 0.5063 GB, free: 1.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6162, allocations: 0 / 0.5063 GB, free: 1.141 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6162, allocations: 0 / 0.5063 GB, free: 1.141 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.6162, allocations: 3.562 kB / 0.5063 GB, free: 1.141 MB / 378.7 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.001914/0.6181, allocations: 0.6423 MB / 0.5069 GB, free: 16.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.6182, allocations: 8.031 kB / 0.5069 GB, free: 16.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.6183, allocations: 22.06 kB / 0.5069 GB, free: 16.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.6186, allocations: 211.8 kB / 0.5072 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.6186, allocations: 12.08 kB / 0.5072 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.6187, allocations: 21.62 kB / 0.5072 GB, free: 16.45 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.6193, allocations: 270.3 kB / 0.5074 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.6193, allocations: 0 / 0.5074 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.6194, allocations: 5.375 kB / 0.5074 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.6194, allocations: 5.812 kB / 0.5075 GB, free: 16.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.6201, allocations: 268.8 kB / 0.5077 GB, free: 16.39 MB / 394.7 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.00166/0.6218, allocations: 0.7838 MB / 0.5085 GB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.6225, allocations: 221.5 kB / 0.5087 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.623, allocations: 133.5 kB / 0.5088 GB, free: 15.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/0.6234, allocations: 362.7 kB / 0.5092 GB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.6235, allocations: 38.75 kB / 0.5092 GB, free: 15.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.044e-06/0.6235, allocations: 0.5312 kB / 0.5092 GB, free: 15.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002271/0.6258, allocations: 0.676 MB / 0.5099 GB, free: 15.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.6259, allocations: 84.64 kB / 0.5099 GB, free: 15.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.626, allocations: 117.6 kB / 0.51 GB, free: 15.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.626, allocations: 40.92 kB / 0.5101 GB, free: 15.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.6261, allocations: 106 kB / 0.5102 GB, free: 15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.6262, allocations: 121.8 kB / 0.5103 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.6262, allocations: 6.375 kB / 0.5103 GB, free: 14.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6263, allocations: 329.5 kB / 0.5106 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.6267, allocations: 136 kB / 0.5108 GB, free: 14.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.627, allocations: 206 kB / 0.511 GB, free: 14.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.6277, allocations: 356.9 kB / 0.5113 GB, free: 14.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6277, allocations: 0 / 0.5113 GB, free: 14.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008672/0.6286, allocations: 407.4 kB / 0.5117 GB, free: 14.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.6286, allocations: 8.625 kB / 0.5117 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.6286, allocations: 0 / 0.5117 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.6287, allocations: 2.938 kB / 0.5117 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.6291, allocations: 96.23 kB / 0.5118 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6292, allocations: 9.375 kB / 0.5118 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.6295, allocations: 31.38 kB / 0.5118 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.6295, allocations: 16.08 kB / 0.5118 GB, free: 14.37 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.6297, allocations: 146.5 kB / 0.512 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.6298, allocations: 16.41 kB / 0.512 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.6301, allocations: 179.3 kB / 0.5122 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6301, allocations: 2.875 kB / 0.5122 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.6302, allocations: 9.672 kB / 0.5122 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6302, allocations: 1.969 kB / 0.5122 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.6317, allocations: 0.7451 MB / 0.5129 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6317, allocations: 1.656 kB / 0.5129 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/0.6322, allocations: 84.06 kB / 0.513 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.6322, allocations: 3.812 kB / 0.513 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.6322, allocations: 15.33 kB / 0.513 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.6323, allocations: 3.062 kB / 0.513 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.6323, allocations: 3.844 kB / 0.513 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.6337, allocations: 0.7061 MB / 0.5137 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.6338, allocations: 129.8 kB / 0.5138 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.6339, allocations: 10.45 kB / 0.5138 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.6342, allocations: 19.92 kB / 0.5139 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.6343, allocations: 28.67 kB / 0.5139 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.6343, allocations: 17.11 kB / 0.5139 GB, free: 13.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.545e-05/0.6344, allocations: 98.5 kB / 0.514 GB, free: 13.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6344, allocations: 0 / 0.514 GB, free: 13.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000832/0.6352, allocations: 139.7 kB / 0.5141 GB, free: 13.34 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006105/0.6359, allocations: 234 kB / 0.5143 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009336/0.6368, allocations: 338.3 kB / 0.5147 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6368, allocations: 1.062 kB / 0.5147 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.6372, allocations: 179.9 kB / 0.5148 GB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.6379, allocations: 102.3 kB / 0.5149 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.6395, allocations: 0.7648 MB / 0.5157 GB, free: 12.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.6398, allocations: 0.739 MB / 0.5164 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.64, allocations: 40.11 kB / 0.5164 GB, free: 12.07 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.64, allocations: 0 / 0.5164 GB, free: 12.07 MB / 394.7 MB Notification: Performance of Templates: time 0.007934/0.648, allocations: 4.432 MB / 0.5208 GB, free: 11.24 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches