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.001146/0.001146, allocations: 116.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 46.12 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 75.88 kB / 481.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4275, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1973/0.6249, allocations: 155.1 MB / 0.6825 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.638, allocations: 10.54 MB / 0.6928 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.6383, allocations: 0 / 0.6928 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.6388, allocations: 87.48 kB / 0.6929 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009162/0.648, allocations: 3.042 MB / 0.6958 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.6484, allocations: 164.3 kB / 0.696 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007414/0.6491, allocations: 0.5256 MB / 0.6965 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.148e-05/0.6492, allocations: 20.41 kB / 0.6965 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.6495, allocations: 227.2 kB / 0.6967 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007524/0.6503, allocations: 382.9 kB / 0.6971 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.6504, allocations: 16 kB / 0.6971 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01045/0.6608, allocations: 4.695 MB / 0.7017 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.6611, allocations: 99.69 kB / 0.7018 GB, free: 2.219 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.6614, allocations: 163.2 kB / 0.702 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008498/0.6699, allocations: 2.439 MB / 0.7043 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.67, allocations: 0 / 0.7043 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.67, allocations: 0 / 0.7043 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.67, 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.003195/0.6732, allocations: 1.092 MB / 0.7054 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6733, allocations: 8.031 kB / 0.7054 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.6735, allocations: 40.12 kB / 0.7055 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.6738, allocations: 242.7 kB / 0.7057 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.6739, allocations: 127.5 kB / 0.7058 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.674, allocations: 35.92 kB / 0.7058 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.6748, allocations: 0.5643 MB / 0.7064 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.6748, allocations: 3.938 kB / 0.7064 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.6749, allocations: 12 kB / 0.7064 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.6749, allocations: 32.48 kB / 0.7064 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.6764, allocations: 1.251 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.002501/0.6789, allocations: 1.98 MB / 0.7096 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.6796, allocations: 271.9 kB / 0.7099 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.6798, allocations: 114.1 kB / 0.71 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003168/0.683, allocations: 3.103 MB / 0.713 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.683, allocations: 38.5 kB / 0.713 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.124e-06/0.683, allocations: 0 / 0.713 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001906/0.685, allocations: 0.7148 MB / 0.7137 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.685, allocations: 63.41 kB / 0.7138 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.6853, allocations: 206.9 kB / 0.714 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.6853, allocations: 37.64 kB / 0.714 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.6855, allocations: 200.4 kB / 0.7142 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.6857, allocations: 162.6 kB / 0.7144 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.6858, allocations: 134.2 kB / 0.7145 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.686, allocations: 338.8 kB / 0.7148 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.6862, allocations: 101.2 kB / 0.7149 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.6866, allocations: 421.4 kB / 0.7153 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.6874, allocations: 0.5708 MB / 0.7159 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.6874, allocations: 4 kB / 0.7159 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001023/0.6884, allocations: 0.5444 MB / 0.7164 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.6885, allocations: 11.98 kB / 0.7164 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6885, allocations: 12 kB / 0.7164 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.6885, allocations: 16 kB / 0.7164 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/0.6892, allocations: 195.7 kB / 0.7166 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007057/0.6899, allocations: 1.192 MB / 0.7178 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.6902, allocations: 20 kB / 0.7178 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.6903, 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.0001941/0.6905, allocations: 173.6 kB / 0.718 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.738e-05/0.6906, allocations: 27.86 kB / 0.7181 GB, free: 284 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3217/1.012, allocations: 0.6301 MB / 0.7187 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/1.012, allocations: 4.562 kB / 0.7187 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.012, allocations: 0.875 kB / 0.7187 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.012, allocations: 4.312 kB / 0.7187 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.014, allocations: 0.8155 MB / 0.7195 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.014, allocations: 3.453 kB / 0.7195 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/1.015, allocations: 101.5 kB / 0.7196 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.015, allocations: 2.188 kB / 0.7196 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/1.015, allocations: 17.06 kB / 0.7196 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005303/1.016, allocations: 1.17 MB / 0.7207 GB, free: 181 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.016, allocations: 2.625 kB / 0.7207 GB, free: 181 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/1.017, allocations: 368.1 kB / 0.7211 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/1.017, allocations: 128 kB / 0.7212 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/1.017, allocations: 9.109 kB / 0.7212 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004448/1.017, allocations: 13.41 kB / 0.7212 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/1.017, allocations: 23.92 kB / 0.7213 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/1.018, allocations: 11.75 kB / 0.7213 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003095/1.018, allocations: 181 kB / 0.7214 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/1.018, allocations: 7.25 kB / 0.7215 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003228/1.021, allocations: 0.5057 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.003269/1.024, allocations: 0.7645 MB / 0.7227 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001562/1.026, allocations: 367.7 kB / 0.723 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/1.026, allocations: 1.094 kB / 0.723 GB, free: 180.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006378/1.027, allocations: 141.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.001348/1.028, allocations: 134.6 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.01509/1.043, allocations: 5.916 MB / 0.7291 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/1.043, allocations: 0.7695 MB / 0.7298 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001068/1.045, allocations: 196 kB / 0.73 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/1.045, allocations: 61.06 kB / 0.7301 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.045, allocations: 4 kB / 0.7301 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.03414/1.079, allocations: 15.19 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