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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001569, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 67.89 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4001, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1987/0.5988, allocations: 155.1 MB / 0.6825 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01229/0.6111, allocations: 10.55 MB / 0.6928 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.6113, allocations: 0 / 0.6928 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.6118, allocations: 87.48 kB / 0.6929 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009092/0.6209, allocations: 3.034 MB / 0.6958 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.6213, allocations: 167 kB / 0.696 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007358/0.6221, allocations: 0.5256 MB / 0.6965 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.6222, allocations: 16.41 kB / 0.6965 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003975/0.6226, allocations: 235.1 kB / 0.6967 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.6233, allocations: 382.9 kB / 0.6971 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.272e-05/0.6233, allocations: 16 kB / 0.6971 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009313/0.6327, allocations: 4.694 MB / 0.7017 GB, free: 2.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.6329, allocations: 95.75 kB / 0.7018 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.6332, allocations: 155.2 kB / 0.7019 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007775/0.641, allocations: 2.447 MB / 0.7043 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.641, allocations: 7.938 kB / 0.7043 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.641, allocations: 0 / 0.7043 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.641, allocations: 0 / 0.7043 GB, free: 15.61 MB / 0.5606 GB 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.002882/0.6439, allocations: 1.094 MB / 0.7054 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.644, allocations: 12.03 kB / 0.7054 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.6442, allocations: 40.12 kB / 0.7055 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.6445, allocations: 242.7 kB / 0.7057 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.6447, allocations: 135.4 kB / 0.7058 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.6447, allocations: 24 kB / 0.7058 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007998/0.6455, allocations: 0.5643 MB / 0.7064 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6455, allocations: 0 / 0.7064 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.6456, allocations: 16 kB / 0.7064 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/0.6456, allocations: 28.48 kB / 0.7064 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.6471, allocations: 1.255 MB / 0.7077 GB, free: 12.06 MB / 0.5606 GB 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.002386/0.6495, allocations: 1.98 MB / 0.7096 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.6502, allocations: 268 kB / 0.7099 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.6503, allocations: 114.1 kB / 0.71 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003405/0.6538, allocations: 3.099 MB / 0.713 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.6538, allocations: 42.56 kB / 0.713 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.6538, allocations: 0 / 0.713 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001861/0.6557, allocations: 0.7186 MB / 0.7137 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.6557, allocations: 55.41 kB / 0.7138 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.656, allocations: 206.9 kB / 0.714 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.656, allocations: 33.7 kB / 0.714 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.6562, allocations: 204.4 kB / 0.7142 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.6563, allocations: 162.6 kB / 0.7144 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.6565, allocations: 134.2 kB / 0.7145 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6566, allocations: 338.8 kB / 0.7148 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.6568, allocations: 105.2 kB / 0.7149 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.6573, allocations: 417.3 kB / 0.7153 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.658, allocations: 0.5669 MB / 0.7159 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.658, allocations: 8 kB / 0.7159 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009174/0.6589, allocations: 0.5483 MB / 0.7164 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.659, allocations: 8.219 kB / 0.7164 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.659, allocations: 16 kB / 0.7164 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.445e-05/0.659, allocations: 16 kB / 0.7164 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/0.6597, allocations: 187.7 kB / 0.7166 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007221/0.6604, allocations: 1.199 MB / 0.7178 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.6607, allocations: 24.06 kB / 0.7178 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.314e-05/0.6608, allocations: 55.98 kB / 0.7179 GB, free: 496 kB / 0.5606 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.0001848/0.661, allocations: 177.5 kB / 0.718 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.6611, allocations: 23.86 kB / 0.7181 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3173/0.9784, allocations: 0.6222 MB / 0.7187 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.9785, allocations: 5.469 kB / 0.7187 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-06/0.9785, allocations: 4.312 kB / 0.7187 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9785, allocations: 0.5625 kB / 0.7187 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.9797, allocations: 0.8245 MB / 0.7195 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.9797, allocations: 1.062 kB / 0.7195 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.9802, allocations: 96.53 kB / 0.7196 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.9802, allocations: 2.344 kB / 0.7196 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.9803, allocations: 21.09 kB / 0.7196 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003199/0.9806, allocations: 1.169 MB / 0.7207 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.9806, allocations: 4.781 kB / 0.7207 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.9811, allocations: 363.5 kB / 0.7211 GB, free: 180.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.9812, allocations: 121.5 kB / 0.7212 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/0.9813, allocations: 10.05 kB / 0.7212 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.9815, allocations: 13.17 kB / 0.7212 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.9816, allocations: 24.19 kB / 0.7213 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.9817, allocations: 14.33 kB / 0.7213 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001759/0.9818, allocations: 180.9 kB / 0.7214 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9818, allocations: 0 / 0.7214 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001534/0.9834, allocations: 0.5119 MB / 0.7219 GB, free: 180.6 MB / 0.5606 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.00157/0.985, allocations: 0.7593 MB / 0.7227 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008469/0.9858, allocations: 370.8 kB / 0.723 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9858, allocations: 1.25 kB / 0.723 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.9862, allocations: 144.4 kB / 0.7232 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.987, allocations: 130.7 kB / 0.7233 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007708/0.9947, allocations: 5.917 MB / 0.7291 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.9949, allocations: 0.7664 MB / 0.7298 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005915/0.9955, allocations: 204.6 kB / 0.73 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.9957, allocations: 64.41 kB / 0.7301 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.9957, allocations: 0 / 0.7301 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.0189/1.015, allocations: 15.18 MB / 0.7449 GB, free: 164.4 MB / 0.5606 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches