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.001192/0.001192, allocations: 94.66 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001854/0.001854, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 11.98 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 63.55 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4265/0.5474, allocations: 151 MB / 0.6192 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.5591, allocations: 10.7 MB / 0.6297 GB, free: 2.848 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.5594, allocations: 8 kB / 0.6297 GB, free: 2.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.5599, allocations: 71.67 kB / 0.6297 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008177/0.5681, allocations: 2.683 MB / 0.6324 GB, free: 84 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.5685, allocations: 152.8 kB / 0.6325 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009296/0.5694, allocations: 0.7713 MB / 0.6333 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.226e-05/0.5695, allocations: 20.41 kB / 0.6333 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.5699, allocations: 219.2 kB / 0.6335 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007763/0.5707, allocations: 398.9 kB / 0.6339 GB, free: 14.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.5707, allocations: 16 kB / 0.6339 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009492/0.5802, allocations: 5.165 MB / 0.6389 GB, free: 9.352 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.5804, allocations: 95.61 kB / 0.639 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.5807, allocations: 181.1 kB / 0.6392 GB, free: 9.074 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.5871, allocations: 2.596 MB / 0.6417 GB, free: 6.473 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5871, allocations: 4 kB / 0.6417 GB, free: 6.469 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5871, allocations: 0 / 0.6417 GB, free: 6.469 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.5872, allocations: 3.938 kB / 0.6417 GB, free: 6.465 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.00245/0.5896, allocations: 0.9906 MB / 0.6427 GB, free: 5.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5897, allocations: 8.875 kB / 0.6427 GB, free: 5.418 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.5898, allocations: 44.41 kB / 0.6428 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.5901, allocations: 246.6 kB / 0.643 GB, free: 5.094 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.5902, allocations: 123.5 kB / 0.6431 GB, free: 4.949 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.5903, allocations: 32 kB / 0.6431 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.591, allocations: 0.5642 MB / 0.6437 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5911, allocations: 0 / 0.6437 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.5911, allocations: 19.98 kB / 0.6437 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/0.5912, allocations: 28.55 kB / 0.6437 GB, free: 4.277 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.5925, allocations: 1.255 MB / 0.645 GB, free: 3.02 MB / 478.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.002284/0.5948, allocations: 1.977 MB / 0.6469 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.5955, allocations: 271.9 kB / 0.6472 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.5957, allocations: 114.1 kB / 0.6473 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003162/0.5989, allocations: 3.106 MB / 0.6503 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5989, allocations: 38.56 kB / 0.6503 GB, free: 12.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.505e-06/0.5989, allocations: 0 / 0.6503 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001797/0.6007, allocations: 0.7113 MB / 0.651 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.6008, allocations: 59.41 kB / 0.6511 GB, free: 12.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.601, allocations: 201.9 kB / 0.6513 GB, free: 11.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.601, allocations: 37.7 kB / 0.6513 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.6012, allocations: 195.8 kB / 0.6515 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.6013, allocations: 149.8 kB / 0.6516 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.6014, allocations: 53.69 kB / 0.6517 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.6015, allocations: 334.8 kB / 0.652 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.6017, allocations: 105.2 kB / 0.6521 GB, free: 10.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003836/0.6021, allocations: 421.3 kB / 0.6525 GB, free: 10.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006971/0.6028, allocations: 0.5708 MB / 0.6531 GB, free: 9.641 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.6028, allocations: 4 kB / 0.6531 GB, free: 9.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009217/0.6037, allocations: 0.5517 MB / 0.6536 GB, free: 9.082 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6037, allocations: 15.92 kB / 0.6536 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.6038, allocations: 12 kB / 0.6536 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/0.6038, allocations: 15.94 kB / 0.6537 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.6045, allocations: 195.8 kB / 0.6538 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006696/0.6052, allocations: 1.199 MB / 0.655 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.6055, allocations: 27.94 kB / 0.655 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.053e-05/0.6056, allocations: 51.98 kB / 0.6551 GB, free: 7.523 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.0001934/0.6058, allocations: 173.5 kB / 0.6553 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.6059, allocations: 31.81 kB / 0.6553 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.6071, allocations: 0.63 MB / 0.6559 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.6072, allocations: 11.97 kB / 0.6559 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6072, allocations: 0 / 0.6559 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6072, allocations: 0 / 0.6559 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.6083, allocations: 0.8235 MB / 0.6567 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6083, allocations: 4 kB / 0.6567 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.6088, allocations: 95.86 kB / 0.6568 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.6088, allocations: 4 kB / 0.6568 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6088, allocations: 8 kB / 0.6568 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006139/0.6095, allocations: 1.172 MB / 0.658 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6095, allocations: 4.031 kB / 0.658 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004569/0.6099, allocations: 363.3 kB / 0.6583 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.6101, allocations: 132.8 kB / 0.6584 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.6102, allocations: 8 kB / 0.6585 GB, free: 3.844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.6104, allocations: 12 kB / 0.6585 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.6105, allocations: 31.84 kB / 0.6585 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.6105, allocations: 15.98 kB / 0.6585 GB, free: 3.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.6107, allocations: 176.5 kB / 0.6587 GB, free: 3.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6107, allocations: 0 / 0.6587 GB, free: 3.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001715/0.6124, allocations: 0.4996 MB / 0.6592 GB, free: 3.113 MB / 494.1 MB 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.001897/0.6143, allocations: 0.753 MB / 0.6599 GB, free: 2.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009609/0.6153, allocations: 377.8 kB / 0.6603 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6153, allocations: 0 / 0.6603 GB, free: 1.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.6157, allocations: 152 kB / 0.6604 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009525/0.6167, allocations: 127.5 kB / 0.6605 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/0.6264, allocations: 6.044 MB / 0.6664 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.6269, allocations: 0.7699 MB / 0.6672 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009953/0.6279, allocations: 202.7 kB / 0.6674 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.6282, allocations: 67.41 kB / 0.6674 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.324e-06/0.6282, allocations: 0 / 0.6674 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.02716/0.6554, allocations: 14.85 MB / 0.6819 GB, free: 11.79 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