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.001428/0.001428, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 78.27 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1512, allocations: 62.45 MB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4669/0.6182, allocations: 155.1 MB / 0.6203 GB, free: 8.098 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.6314, allocations: 10.54 MB / 0.6306 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002435/0.6317, allocations: 4 kB / 0.6306 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.6322, allocations: 75.48 kB / 0.6306 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.6429, allocations: 3.05 MB / 0.6336 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.6435, allocations: 162.7 kB / 0.6338 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.645, allocations: 0.5256 MB / 0.6343 GB, free: 9.746 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.6451, allocations: 20.39 kB / 0.6343 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007953/0.6459, allocations: 219.2 kB / 0.6345 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.6471, allocations: 394.8 kB / 0.6349 GB, free: 9.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.867e-05/0.6472, allocations: 16 kB / 0.6349 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01105/0.6583, allocations: 4.655 MB / 0.6395 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.6586, allocations: 99.67 kB / 0.6396 GB, free: 4.352 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.6591, allocations: 159.2 kB / 0.6397 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009579/0.6687, allocations: 2.425 MB / 0.6421 GB, free: 1.766 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6687, allocations: 0 / 0.6421 GB, free: 1.766 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.6687, allocations: 0 / 0.6421 GB, free: 1.766 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.6688, allocations: 0 / 0.6421 GB, free: 1.766 MB / 478.1 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.003389/0.6722, allocations: 1.065 MB / 0.6431 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.6722, allocations: 8.031 kB / 0.6431 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.6725, allocations: 36.41 kB / 0.6432 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.6729, allocations: 246.6 kB / 0.6434 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.6731, allocations: 131.5 kB / 0.6435 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.6732, allocations: 24 kB / 0.6435 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.6742, allocations: 0.5682 MB / 0.6441 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.6742, allocations: 3.938 kB / 0.6441 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.6742, allocations: 15.98 kB / 0.6441 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-05/0.6743, allocations: 28.55 kB / 0.6441 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.6757, allocations: 1.251 MB / 0.6454 GB, free: 14.25 MB / 494.1 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.002492/0.6782, allocations: 1.981 MB / 0.6473 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/0.679, allocations: 264 kB / 0.6476 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.6792, allocations: 114.1 kB / 0.6477 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/0.6824, allocations: 3.11 MB / 0.6507 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.6825, allocations: 34.56 kB / 0.6507 GB, free: 8.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/0.6825, allocations: 4 kB / 0.6507 GB, free: 8.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001883/0.6844, allocations: 0.7158 MB / 0.6514 GB, free: 7.316 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.6844, allocations: 59.41 kB / 0.6515 GB, free: 7.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.6846, allocations: 205.9 kB / 0.6517 GB, free: 7.035 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.6847, allocations: 33.7 kB / 0.6517 GB, free: 6.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.6848, allocations: 195.8 kB / 0.6519 GB, free: 6.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.685, allocations: 153.8 kB / 0.6521 GB, free: 6.645 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.6852, allocations: 134.2 kB / 0.6522 GB, free: 6.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6854, allocations: 334.8 kB / 0.6525 GB, free: 6.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.6857, allocations: 105.2 kB / 0.6526 GB, free: 6.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.6862, allocations: 417.3 kB / 0.653 GB, free: 5.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.6873, allocations: 0.5746 MB / 0.6536 GB, free: 4.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.6873, allocations: 4 kB / 0.6536 GB, free: 4.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001378/0.6887, allocations: 0.5491 MB / 0.6541 GB, free: 4.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.6887, allocations: 10.34 kB / 0.6541 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.6888, allocations: 12 kB / 0.6541 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.385e-05/0.6888, allocations: 19.94 kB / 0.6541 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/0.6897, allocations: 191.8 kB / 0.6543 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008837/0.6906, allocations: 1.188 MB / 0.6555 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.6911, allocations: 24 kB / 0.6555 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.6913, allocations: 51.98 kB / 0.6556 GB, free: 2.699 MB / 494.1 MB 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.0002897/0.6916, allocations: 181.5 kB / 0.6557 GB, free: 2.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.6917, allocations: 27.72 kB / 0.6558 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.6935, allocations: 0.6355 MB / 0.6564 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/0.6936, allocations: 7.984 kB / 0.6564 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.6936, allocations: 0 / 0.6564 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6936, allocations: 0 / 0.6564 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.6951, allocations: 0.8282 MB / 0.6572 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6951, allocations: 3.938 kB / 0.6572 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.6957, allocations: 95.88 kB / 0.6573 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6957, allocations: 0 / 0.6573 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.6958, allocations: 12 kB / 0.6573 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/0.6966, allocations: 1.177 MB / 0.6584 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6966, allocations: 0 / 0.6584 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.6973, allocations: 363.2 kB / 0.6588 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.6974, allocations: 116.8 kB / 0.6589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.6975, allocations: 8 kB / 0.6589 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.6979, allocations: 12.8 kB / 0.6589 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.698, allocations: 31.84 kB / 0.659 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/0.6981, allocations: 19.98 kB / 0.659 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000219/0.6983, allocations: 164.5 kB / 0.6591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6983, allocations: 0 / 0.6591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002407/0.7007, allocations: 0.5035 MB / 0.6596 GB, free: 14.3 MB / 0.4981 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.003178/0.7039, allocations: 0.7524 MB / 0.6604 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.7053, allocations: 382.3 kB / 0.6607 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.7054, allocations: 4.312 kB / 0.6607 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.706, allocations: 151.7 kB / 0.6609 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.7072, allocations: 137 kB / 0.661 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/0.7211, allocations: 5.881 MB / 0.6667 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.7217, allocations: 0.7778 MB / 0.6675 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001351/0.7231, allocations: 194.8 kB / 0.6677 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.7235, allocations: 75.39 kB / 0.6678 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of SimCode: time 1.293e-06/0.7235, allocations: 0 / 0.6678 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of Templates: time 0.03375/0.7573, allocations: 15.1 MB / 0.6825 GB, free: 6.871 MB / 0.5137 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