Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009275/0.0009276, allocations: 198.1 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007266/0.0007267, allocations: 92.53 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3448/0.3448, allocations: 44.83 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002888, allocations: 11.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2801, allocations: 62.96 MB / 0.5159 GB, free: 37.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1325/0.4126, allocations: 138.1 MB / 0.6508 GB, free: 15 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.009822/0.4225, allocations: 9.663 MB / 0.6602 GB, free: 5.32 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.4227, allocations: 4 kB / 0.6602 GB, free: 5.316 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.4231, allocations: 67.56 kB / 0.6603 GB, free: 5.25 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.4298, allocations: 2.564 MB / 0.6628 GB, free: 2.68 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.4302, allocations: 149.8 kB / 0.6629 GB, free: 2.539 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006966/0.4309, allocations: 0.6387 MB / 0.6635 GB, free: 1.898 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.954e-05/0.4309, allocations: 20.39 kB / 0.6636 GB, free: 1.875 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.4312, allocations: 219.2 kB / 0.6638 GB, free: 1.66 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000677/0.4319, allocations: 407 kB / 0.6642 GB, free: 1.262 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.432, allocations: 12 kB / 0.6642 GB, free: 1.25 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008292/0.4403, allocations: 5.124 MB / 0.6692 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.4405, allocations: 95.67 kB / 0.6693 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.4407, allocations: 177.1 kB / 0.6694 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.4441, allocations: 1.67 MB / 0.6711 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4441, allocations: 0 / 0.6711 GB, free: 10.17 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4441, allocations: 0 / 0.6711 GB, free: 10.17 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4442, allocations: 0 / 0.6711 GB, free: 10.17 MB / 490.7 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.002275/0.4464, allocations: 0.9944 MB / 0.672 GB, free: 9.129 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4465, allocations: 8.031 kB / 0.672 GB, free: 9.121 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4466, allocations: 36.03 kB / 0.6721 GB, free: 9.086 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.4469, allocations: 250.7 kB / 0.6723 GB, free: 8.801 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.447, allocations: 123.5 kB / 0.6724 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.4471, allocations: 35.92 kB / 0.6725 GB, free: 8.621 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/0.4478, allocations: 0.5604 MB / 0.673 GB, free: 8.027 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4478, allocations: 3.938 kB / 0.673 GB, free: 8.023 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.4479, allocations: 16 kB / 0.673 GB, free: 8.008 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.4479, allocations: 28.48 kB / 0.6731 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.4492, allocations: 1.255 MB / 0.6743 GB, free: 6.723 MB / 490.7 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.002231/0.4515, allocations: 1.969 MB / 0.6762 GB, free: 4.605 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000654/0.4521, allocations: 263 kB / 0.6765 GB, free: 4.344 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.4523, allocations: 110.1 kB / 0.6766 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003013/0.4553, allocations: 3.102 MB / 0.6796 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4554, allocations: 42.5 kB / 0.6796 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 1.923e-06/0.4554, allocations: 0 / 0.6796 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.2021/0.6575, allocations: 0.7076 MB / 0.6803 GB, free: 144.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.6576, allocations: 58.66 kB / 0.6804 GB, free: 144.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.6578, allocations: 197.6 kB / 0.6806 GB, free: 144 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.6579, allocations: 33.73 kB / 0.6806 GB, free: 144 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.658, allocations: 197.8 kB / 0.6808 GB, free: 143.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.6581, allocations: 155.8 kB / 0.6809 GB, free: 143.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.6581, allocations: 11.47 kB / 0.681 GB, free: 143.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.6582, allocations: 341.5 kB / 0.6813 GB, free: 143.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.6584, allocations: 102.2 kB / 0.6814 GB, free: 143.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.6588, allocations: 414.4 kB / 0.6818 GB, free: 143 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/0.6594, allocations: 0.5642 MB / 0.6823 GB, free: 142.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.6594, allocations: 3.875 kB / 0.6823 GB, free: 142.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009017/0.6603, allocations: 0.5495 MB / 0.6829 GB, free: 142.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6603, allocations: 10.03 kB / 0.6829 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.6604, allocations: 10.84 kB / 0.6829 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.6604, allocations: 17.84 kB / 0.6829 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.6611, allocations: 195.2 kB / 0.6831 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003821/0.6615, allocations: 1.196 MB / 0.6843 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.6619, allocations: 25.78 kB / 0.6843 GB, free: 141.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.662, allocations: 56.69 kB / 0.6843 GB, free: 141.2 MB / 490.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.6621, allocations: 166.2 kB / 0.6845 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.6622, allocations: 39.39 kB / 0.6845 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.6632, allocations: 0.6432 MB / 0.6852 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.6632, allocations: 2.969 kB / 0.6852 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6633, allocations: 2.781 kB / 0.6852 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.6633, allocations: 5.469 kB / 0.6852 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.6641, allocations: 0.8232 MB / 0.686 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6641, allocations: 0 / 0.686 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.6645, allocations: 96.42 kB / 0.6861 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.6646, allocations: 2.906 kB / 0.6861 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.6646, allocations: 10.62 kB / 0.6861 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002878/0.6649, allocations: 1.169 MB / 0.6872 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6649, allocations: 0 / 0.6872 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.6652, allocations: 363.1 kB / 0.6876 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.6653, allocations: 138.8 kB / 0.6877 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.6654, allocations: 6.969 kB / 0.6877 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.6657, allocations: 15.8 kB / 0.6877 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.6657, allocations: 26.98 kB / 0.6877 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.6657, allocations: 21.64 kB / 0.6878 GB, free: 138.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.6659, allocations: 168.2 kB / 0.6879 GB, free: 138.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6659, allocations: 0 / 0.6879 GB, free: 138.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00133/0.6672, allocations: 0.4935 MB / 0.6884 GB, free: 138.3 MB / 490.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/0.6688, allocations: 0.7508 MB / 0.6891 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007452/0.6696, allocations: 373.1 kB / 0.6895 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6696, allocations: 0 / 0.6895 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.6699, allocations: 144.2 kB / 0.6896 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.6706, allocations: 96.67 kB / 0.6897 GB, free: 138 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.6779, allocations: 6.009 MB / 0.6956 GB, free: 135.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.6781, allocations: 0.7677 MB / 0.6963 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.6784, allocations: 82.22 kB / 0.6964 GB, free: 134.9 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6784, allocations: 0 / 0.6964 GB, free: 134.9 MB / 490.7 MB Notification: Performance of Templates: time 0.01824/0.6967, allocations: 13.5 MB / 0.7096 GB, free: 131.7 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches