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.0009851/0.0009849, allocations: 91.91 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, 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.2153/0.2153, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003103, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1335, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4987/0.6323, allocations: 151 MB / 0.6192 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.6469, allocations: 10.71 MB / 0.6297 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.6473, allocations: 8 kB / 0.6297 GB, free: 2.824 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004822/0.6478, allocations: 67.69 kB / 0.6298 GB, free: 2.758 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009134/0.6569, allocations: 2.68 MB / 0.6324 GB, free: 72 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.6574, allocations: 158.8 kB / 0.6325 GB, free: 15.92 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.6584, allocations: 0.7751 MB / 0.6333 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.58e-05/0.6585, allocations: 20.41 kB / 0.6333 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.659, allocations: 211.2 kB / 0.6335 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000935/0.66, allocations: 406.9 kB / 0.6339 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.866e-05/0.6601, allocations: 16 kB / 0.6339 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/0.6707, allocations: 5.162 MB / 0.6389 GB, free: 9.332 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.671, allocations: 91.62 kB / 0.639 GB, free: 9.242 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.6713, allocations: 173.1 kB / 0.6392 GB, free: 9.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008056/0.6794, allocations: 2.603 MB / 0.6417 GB, free: 6.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6794, allocations: 3.938 kB / 0.6417 GB, free: 6.453 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.6795, allocations: 3.984 kB / 0.6417 GB, free: 6.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.6795, allocations: 0 / 0.6417 GB, free: 6.449 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.003209/0.6827, allocations: 0.9867 MB / 0.6427 GB, free: 5.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/0.6828, allocations: 8.875 kB / 0.6427 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.683, allocations: 40.39 kB / 0.6428 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.6835, allocations: 246.6 kB / 0.643 GB, free: 5.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.6837, allocations: 131.5 kB / 0.6431 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.6837, allocations: 28 kB / 0.6431 GB, free: 4.906 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009909/0.6847, allocations: 0.5643 MB / 0.6437 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6848, allocations: 0 / 0.6437 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/0.6848, allocations: 12 kB / 0.6437 GB, free: 4.301 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.463e-05/0.6849, allocations: 28.55 kB / 0.6437 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.6865, allocations: 1.267 MB / 0.645 GB, free: 3.004 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.002955/0.6895, allocations: 1.977 MB / 0.6469 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.6902, allocations: 266.3 kB / 0.6472 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.6904, allocations: 118 kB / 0.6473 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003467/0.6939, allocations: 3.11 MB / 0.6503 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.694, allocations: 38.56 kB / 0.6503 GB, free: 12.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.405e-06/0.694, allocations: 0 / 0.6503 GB, free: 12.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.002131/0.6961, allocations: 0.7113 MB / 0.651 GB, free: 12.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.6962, allocations: 59.41 kB / 0.6511 GB, free: 12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.6964, allocations: 205.9 kB / 0.6513 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.6965, allocations: 37.7 kB / 0.6513 GB, free: 11.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.6966, allocations: 187.8 kB / 0.6515 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.6967, allocations: 153.8 kB / 0.6516 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.6968, allocations: 45.7 kB / 0.6517 GB, free: 11.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.697, allocations: 338.8 kB / 0.652 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.6972, allocations: 101.2 kB / 0.6521 GB, free: 10.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.6976, allocations: 429.3 kB / 0.6525 GB, free: 10.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007778/0.6984, allocations: 0.5708 MB / 0.6531 GB, free: 9.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.6984, allocations: 0 / 0.6531 GB, free: 9.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001063/0.6995, allocations: 0.555 MB / 0.6536 GB, free: 9.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.6995, allocations: 12 kB / 0.6536 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.6995, allocations: 12 kB / 0.6536 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/0.6996, allocations: 12 kB / 0.6537 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000687/0.7003, allocations: 191.7 kB / 0.6538 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007353/0.701, allocations: 1.199 MB / 0.655 GB, free: 7.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.7014, allocations: 35.91 kB / 0.655 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.7015, allocations: 55.92 kB / 0.6551 GB, free: 7.508 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.0002326/0.7018, allocations: 173.5 kB / 0.6553 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.7018, allocations: 31.81 kB / 0.6553 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.7032, allocations: 0.6299 MB / 0.6559 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.7032, allocations: 8 kB / 0.6559 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.7032, allocations: 0 / 0.6559 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.7032, allocations: 3.984 kB / 0.6559 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.7044, allocations: 0.8196 MB / 0.6567 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.7044, allocations: 0 / 0.6567 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.7049, allocations: 103.9 kB / 0.6568 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.7049, allocations: 4 kB / 0.6568 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.705, allocations: 8 kB / 0.6568 GB, free: 5.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006327/0.7056, allocations: 1.168 MB / 0.658 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7056, allocations: 0 / 0.658 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.7061, allocations: 367.3 kB / 0.6583 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.7063, allocations: 132.8 kB / 0.6584 GB, free: 3.84 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.7064, allocations: 8 kB / 0.6585 GB, free: 3.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.7067, allocations: 15.98 kB / 0.6585 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.7067, allocations: 27.91 kB / 0.6585 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.7068, allocations: 15.98 kB / 0.6585 GB, free: 3.773 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.707, allocations: 168.5 kB / 0.6587 GB, free: 3.609 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.707, allocations: 4 kB / 0.6587 GB, free: 3.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001872/0.7088, allocations: 0.5034 MB / 0.6592 GB, free: 3.102 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.002779/0.7116, allocations: 0.7563 MB / 0.6599 GB, free: 2.344 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.7127, allocations: 366 kB / 0.6603 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.7127, allocations: 0 / 0.6603 GB, free: 1.988 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.7131, allocations: 144 kB / 0.6604 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/0.714, allocations: 131.8 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.01005/0.7241, allocations: 6.056 MB / 0.6664 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.7246, allocations: 0.7737 MB / 0.6672 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009277/0.7256, allocations: 198.8 kB / 0.6674 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.7258, allocations: 71.39 kB / 0.6674 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.7259, allocations: 0 / 0.6674 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.02632/0.7522, allocations: 14.84 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