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.003074/0.003074, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.433/3.433, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001825/0.001825, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000573/0.0005731, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1473, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.6947/0.842, allocations: 127.3 MB / 0.4901 GB, free: 14.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.8458, allocations: 1.365 MB / 0.4914 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.846, allocations: 8 kB / 0.4914 GB, free: 12.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004325/0.8465, allocations: 43.78 kB / 0.4915 GB, free: 12.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006302/0.8471, allocations: 119.6 kB / 0.4916 GB, free: 12.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003782/0.851, allocations: 0.6 MB / 0.4922 GB, free: 11.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.8516, allocations: 175.7 kB / 0.4923 GB, free: 11.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.8517, allocations: 9.453 kB / 0.4923 GB, free: 11.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007029/0.8524, allocations: 175.5 kB / 0.4925 GB, free: 11.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.8528, allocations: 83.78 kB / 0.4926 GB, free: 11.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.968e-05/0.8529, allocations: 8 kB / 0.4926 GB, free: 11.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004934/0.8578, allocations: 1.17 MB / 0.4937 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.8581, allocations: 59.86 kB / 0.4938 GB, free: 10.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.8583, allocations: 53.64 kB / 0.4938 GB, free: 10.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002374/0.8607, allocations: 0.5191 MB / 0.4943 GB, free: 9.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8607, allocations: 4 kB / 0.4943 GB, free: 9.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.8608, allocations: 0 / 0.4943 GB, free: 9.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.8608, allocations: 0 / 0.4943 GB, free: 9.664 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.003593/0.8644, allocations: 0.6051 MB / 0.4949 GB, free: 9.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.108e-05/0.8645, allocations: 8.031 kB / 0.4949 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.8649, allocations: 19.81 kB / 0.495 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.8654, allocations: 206.9 kB / 0.4952 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.8655, allocations: 12.33 kB / 0.4952 GB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.8656, allocations: 15.98 kB / 0.4952 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.8669, allocations: 261.4 kB / 0.4954 GB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.867, allocations: 7.984 kB / 0.4954 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.887e-05/0.8671, allocations: 8 kB / 0.4955 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.8671, allocations: 7.938 kB / 0.4955 GB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.8687, allocations: 272.6 kB / 0.4957 GB, free: 8.16 MB / 378.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.003209/0.872, allocations: 0.7903 MB / 0.4965 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.8735, allocations: 217.2 kB / 0.4967 GB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.8742, allocations: 356.3 kB / 0.497 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.647e-05/0.8743, allocations: 42.98 kB / 0.4971 GB, free: 6.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 4.108e-06/0.8743, allocations: 0 / 0.4971 GB, free: 6.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00594/0.8803, allocations: 0.6639 MB / 0.4977 GB, free: 5.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.8805, allocations: 85.05 kB / 0.4978 GB, free: 5.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.8807, allocations: 121.8 kB / 0.4979 GB, free: 5.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.854e-05/0.8808, allocations: 29.7 kB / 0.498 GB, free: 5.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.881, allocations: 183.2 kB / 0.4981 GB, free: 5.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.8812, allocations: 122.2 kB / 0.4982 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.8813, allocations: 8 kB / 0.4983 GB, free: 5.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.8815, allocations: 326.8 kB / 0.4986 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009656/0.8825, allocations: 135.9 kB / 0.4987 GB, free: 4.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.8837, allocations: 203.6 kB / 0.4989 GB, free: 4.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.8848, allocations: 157 kB / 0.499 GB, free: 4.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.8848, allocations: 0 / 0.499 GB, free: 4.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002449/0.8873, allocations: 405.5 kB / 0.4994 GB, free: 4.109 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.8874, allocations: 4 kB / 0.4994 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.8874, allocations: 4 kB / 0.4994 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.153e-05/0.8875, allocations: 12.16 kB / 0.4994 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.8887, allocations: 87.88 kB / 0.4995 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/0.8888, allocations: 7.938 kB / 0.4995 GB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008835/0.8897, allocations: 31.84 kB / 0.4996 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.8898, allocations: 16 kB / 0.4996 GB, free: 3.953 MB / 378.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.0003605/0.8902, allocations: 145.7 kB / 0.4997 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.8904, allocations: 19.81 kB / 0.4997 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008814/0.8913, allocations: 175.7 kB / 0.4999 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.8914, allocations: 4 kB / 0.4999 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.8914, allocations: 0 / 0.4999 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.8914, allocations: 4 kB / 0.4999 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.8955, allocations: 0.7519 MB / 0.5007 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.8955, allocations: 0 / 0.5007 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.8967, allocations: 84.42 kB / 0.5007 GB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/0.8968, allocations: 3.953 kB / 0.5007 GB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.813e-05/0.8968, allocations: 15.98 kB / 0.5008 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.8969, allocations: 0 / 0.5008 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.8969, allocations: 7.938 kB / 0.5008 GB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.9004, allocations: 0.7756 MB / 0.5015 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.9008, allocations: 120.9 kB / 0.5016 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.901, allocations: 19.98 kB / 0.5017 GB, free: 1.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008917/0.9019, allocations: 15.98 kB / 0.5017 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.902, allocations: 27.91 kB / 0.5017 GB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.9021, allocations: 15.98 kB / 0.5017 GB, free: 1.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.9023, allocations: 91.27 kB / 0.5018 GB, free: 1.512 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9023, allocations: 0 / 0.5018 GB, free: 1.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001381/0.9037, allocations: 147.9 kB / 0.5019 GB, free: 1.367 MB / 378.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.001043/0.9048, allocations: 223 kB / 0.5021 GB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.9071, allocations: 344 kB / 0.5025 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.9072, allocations: 0 / 0.5025 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.9084, allocations: 180.5 kB / 0.5026 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.9099, allocations: 96.86 kB / 0.5027 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.9135, allocations: 0.762 MB / 0.5035 GB, free: 15.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.9141, allocations: 0.7372 MB / 0.5042 GB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.9146, allocations: 39.69 kB / 0.5042 GB, free: 14.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9146, allocations: 0 / 0.5042 GB, free: 14.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01734/0.932, allocations: 4.438 MB / 0.5086 GB, free: 10.48 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/jenkins1/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