Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000955/0.000955, allocations: 98.12 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3734/0.3734, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3201, allocations: 62.02 MB / 0.5151 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1504/0.4706, allocations: 150.1 MB / 0.6617 GB, free: 3.004 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.4827, allocations: 10.8 MB / 0.6722 GB, free: 8.172 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.4829, allocations: 4 kB / 0.6722 GB, free: 8.168 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.4835, allocations: 67.61 kB / 0.6723 GB, free: 8.102 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008159/0.4917, allocations: 2.678 MB / 0.6749 GB, free: 5.422 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.4922, allocations: 162.1 kB / 0.6751 GB, free: 5.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.4932, allocations: 0.7558 MB / 0.6758 GB, free: 4.512 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.588e-05/0.4933, allocations: 28.38 kB / 0.6758 GB, free: 4.48 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.4938, allocations: 215.1 kB / 0.6761 GB, free: 4.27 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009209/0.4947, allocations: 402.9 kB / 0.6764 GB, free: 3.875 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.4948, allocations: 15.98 kB / 0.6765 GB, free: 3.859 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2956/0.7904, allocations: 5.144 MB / 0.6815 GB, free: 5.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.7906, allocations: 95.83 kB / 0.6816 GB, free: 5.652 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00022/0.7908, allocations: 150.2 kB / 0.6817 GB, free: 5.652 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005946/0.7967, allocations: 2.588 MB / 0.6842 GB, free: 5.605 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7968, allocations: 0 / 0.6842 GB, free: 5.605 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7968, allocations: 1.781 kB / 0.6842 GB, free: 5.605 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.7968, allocations: 3 kB / 0.6842 GB, free: 5.605 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.00249/0.7993, allocations: 1.061 MB / 0.6853 GB, free: 4.988 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7993, allocations: 11.67 kB / 0.6853 GB, free: 4.988 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.7995, allocations: 34.22 kB / 0.6853 GB, free: 4.977 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.7998, allocations: 249.8 kB / 0.6856 GB, free: 4.762 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-05/0.7999, allocations: 135 kB / 0.6857 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.8, allocations: 25.16 kB / 0.6857 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.8007, allocations: 0.5697 MB / 0.6863 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.8007, allocations: 0 / 0.6863 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.8007, allocations: 11.78 kB / 0.6863 GB, free: 4.535 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.8008, allocations: 28.44 kB / 0.6863 GB, free: 4.531 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.8021, allocations: 1.256 MB / 0.6875 GB, free: 4.531 MB / 490.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.002775/0.8049, allocations: 1.973 MB / 0.6895 GB, free: 19.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.8056, allocations: 260.5 kB / 0.6897 GB, free: 19.28 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.8058, allocations: 120.3 kB / 0.6898 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00324/0.8091, allocations: 3.099 MB / 0.6929 GB, free: 16.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.8091, allocations: 40 kB / 0.6929 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.8091, allocations: 0 / 0.6929 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.001811/0.8109, allocations: 0.7181 MB / 0.6936 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.811, allocations: 56.41 kB / 0.6936 GB, free: 16.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.8112, allocations: 209.7 kB / 0.6938 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.8112, allocations: 34.42 kB / 0.6939 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.8114, allocations: 190.5 kB / 0.6941 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.8115, allocations: 155.5 kB / 0.6942 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.8116, allocations: 136.8 kB / 0.6943 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8118, allocations: 335.7 kB / 0.6947 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.812, allocations: 103.9 kB / 0.6948 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.8124, allocations: 416.5 kB / 0.6952 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000655/0.8131, allocations: 0.5782 MB / 0.6957 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.8131, allocations: 3.031 kB / 0.6957 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009593/0.8141, allocations: 0.5504 MB / 0.6963 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.8141, allocations: 11.88 kB / 0.6963 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.8141, allocations: 13.31 kB / 0.6963 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.8142, allocations: 15.61 kB / 0.6963 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.8148, allocations: 194.2 kB / 0.6965 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007026/0.8155, allocations: 1.19 MB / 0.6976 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003584/0.8159, allocations: 29.25 kB / 0.6977 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.816, allocations: 58.78 kB / 0.6977 GB, free: 13.34 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.8162, allocations: 172.2 kB / 0.6979 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.8163, allocations: 30.86 kB / 0.6979 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.8176, allocations: 0.6298 MB / 0.6985 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.8177, allocations: 5.719 kB / 0.6985 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.8177, allocations: 2.438 kB / 0.6985 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.8177, allocations: 4.359 kB / 0.6985 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.8189, allocations: 0.823 MB / 0.6994 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.819, allocations: 1.688 kB / 0.6994 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.8195, allocations: 94.58 kB / 0.6994 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.8195, allocations: 2.594 kB / 0.6994 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.974e-05/0.8195, allocations: 13.44 kB / 0.6995 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006647/0.8202, allocations: 1.17 MB / 0.7006 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8202, allocations: 0.5312 kB / 0.7006 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.8213, allocations: 1.034 MB / 0.7016 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.8215, allocations: 116.2 kB / 0.7017 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.8216, allocations: 11.28 kB / 0.7017 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.8219, allocations: 15.81 kB / 0.7017 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.8219, allocations: 24.3 kB / 0.7018 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.822, allocations: 18.66 kB / 0.7018 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002277/0.8222, allocations: 170.4 kB / 0.702 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8222, allocations: 6.547 kB / 0.702 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00267/0.8249, allocations: 0.5123 MB / 0.7025 GB, free: 10.27 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0032/0.8281, allocations: 0.7557 MB / 0.7032 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.8297, allocations: 364.9 kB / 0.7035 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.8297, allocations: 4.188 kB / 0.7035 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004405/0.8301, allocations: 142.5 kB / 0.7037 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.8312, allocations: 135.4 kB / 0.7038 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.8423, allocations: 6.161 MB / 0.7098 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.8428, allocations: 0.7778 MB / 0.7106 GB, free: 8.559 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000943/0.8437, allocations: 202.8 kB / 0.7108 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.844, allocations: 67.45 kB / 0.7108 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.844, allocations: 0.875 kB / 0.7108 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of Templates: time 0.02414/0.8682, allocations: 15 MB / 0.7255 GB, free: 5.191 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches