Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001412, allocations: 203.7 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.988 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3677/0.3677, allocations: 43.49 MB / 313.5 MB, free: 8.641 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 59.91 kB / 382 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1582, allocations: 57.79 MB / 439.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.464/0.6222, allocations: 151.3 MB / 0.5773 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01676/0.639, allocations: 13.77 MB / 0.5907 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.6393, allocations: 4 kB / 0.5907 GB, free: 7.273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.6398, allocations: 63.67 kB / 0.5908 GB, free: 7.211 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.651, allocations: 3.039 MB / 0.5937 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004034/0.6514, allocations: 154.1 kB / 0.5939 GB, free: 4.031 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009043/0.6523, allocations: 0.7558 MB / 0.5946 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.6524, allocations: 23.05 kB / 0.5946 GB, free: 3.254 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.6527, allocations: 207.2 kB / 0.5948 GB, free: 3.051 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.6534, allocations: 414.8 kB / 0.5952 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.6535, allocations: 12 kB / 0.5952 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009883/0.6634, allocations: 5.412 MB / 0.6005 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.6636, allocations: 87.69 kB / 0.6006 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.6638, allocations: 159.3 kB / 0.6008 GB, free: 12.97 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005831/0.6696, allocations: 2.767 MB / 0.6035 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6696, allocations: 0 / 0.6035 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6696, allocations: 0 / 0.6035 GB, free: 10.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.6697, allocations: 0 / 0.6035 GB, free: 10.2 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.00261/0.6723, allocations: 1.123 MB / 0.6046 GB, free: 9.027 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6723, allocations: 12.03 kB / 0.6046 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.6725, allocations: 36.84 kB / 0.6046 GB, free: 8.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.6729, allocations: 258.5 kB / 0.6049 GB, free: 8.688 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.673, allocations: 123.5 kB / 0.605 GB, free: 8.543 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.6731, allocations: 35.92 kB / 0.605 GB, free: 8.508 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007908/0.6739, allocations: 0.5759 MB / 0.6056 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.6739, allocations: 4 kB / 0.6056 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.6739, allocations: 12 kB / 0.6056 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.674, allocations: 28.48 kB / 0.6056 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.6753, allocations: 1.251 MB / 0.6068 GB, free: 6.609 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.002268/0.6775, allocations: 2.012 MB / 0.6088 GB, free: 4.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.6782, allocations: 264.7 kB / 0.6091 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.6784, allocations: 118.1 kB / 0.6092 GB, free: 4.066 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003399/0.6818, allocations: 3.36 MB / 0.6124 GB, free: 168 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.6819, allocations: 34.56 kB / 0.6125 GB, free: 124 kB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.6819, allocations: 0 / 0.6125 GB, free: 124 kB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001818/0.6837, allocations: 0.7296 MB / 0.6132 GB, free: 15.36 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.6838, allocations: 63.34 kB / 0.6132 GB, free: 15.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.684, allocations: 202.1 kB / 0.6134 GB, free: 15.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.684, allocations: 33.7 kB / 0.6135 GB, free: 15.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.6841, allocations: 199.8 kB / 0.6137 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.6842, allocations: 145.8 kB / 0.6138 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.6844, allocations: 142.2 kB / 0.6139 GB, free: 14.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6846, allocations: 334.8 kB / 0.6143 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.6848, allocations: 109.2 kB / 0.6144 GB, free: 14.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.6852, allocations: 417.4 kB / 0.6148 GB, free: 13.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000688/0.6859, allocations: 0.5822 MB / 0.6153 GB, free: 12.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.6859, allocations: 4 kB / 0.6153 GB, free: 12.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008949/0.6868, allocations: 0.5629 MB / 0.6159 GB, free: 12.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.6868, allocations: 8.938 kB / 0.6159 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6868, allocations: 12 kB / 0.6159 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.6869, allocations: 16 kB / 0.6159 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.6875, allocations: 207.7 kB / 0.6161 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006225/0.6881, allocations: 1.191 MB / 0.6173 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.6885, allocations: 24.19 kB / 0.6173 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.6885, allocations: 63.98 kB / 0.6174 GB, free: 10.7 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.0001879/0.6887, allocations: 185.4 kB / 0.6175 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.6888, allocations: 28.47 kB / 0.6176 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.6901, allocations: 0.6385 MB / 0.6182 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.6901, allocations: 4 kB / 0.6182 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6901, allocations: 0 / 0.6182 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6901, allocations: 11.98 kB / 0.6182 GB, free: 9.793 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008737/0.691, allocations: 0.6536 MB / 0.6188 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.691, allocations: 0 / 0.6188 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.6914, allocations: 107.9 kB / 0.6189 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6915, allocations: 0 / 0.6189 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.6915, allocations: 8 kB / 0.619 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005201/0.692, allocations: 1.168 MB / 0.6201 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.692, allocations: 7.969 kB / 0.6201 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.6925, allocations: 344.6 kB / 0.6204 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.6926, allocations: 117.1 kB / 0.6205 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.6927, allocations: 15.84 kB / 0.6206 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.6929, allocations: 19.92 kB / 0.6206 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.693, allocations: 24.23 kB / 0.6206 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.693, allocations: 31.92 kB / 0.6206 GB, free: 7.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.6932, allocations: 172.5 kB / 0.6208 GB, free: 7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6932, allocations: 0 / 0.6208 GB, free: 7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002108/0.6954, allocations: 0.5465 MB / 0.6213 GB, free: 6.453 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.002566/0.6979, allocations: 0.8767 MB / 0.6222 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009693/0.6989, allocations: 381.9 kB / 0.6226 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6989, allocations: 0.9375 kB / 0.6226 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003949/0.6993, allocations: 152 kB / 0.6227 GB, free: 5.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.7001, allocations: 125.6 kB / 0.6228 GB, free: 4.934 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3637/1.064, allocations: 8.411 MB / 0.631 GB, free: 30.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/1.064, allocations: 0.7679 MB / 0.6318 GB, free: 30.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009313/1.065, allocations: 186.5 kB / 0.632 GB, free: 30.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/1.065, allocations: 78.33 kB / 0.632 GB, free: 30.16 MB / 494.1 MB Notification: Performance of SimCode: time 1.503e-06/1.065, allocations: 1.375 kB / 0.632 GB, free: 30.16 MB / 494.1 MB Notification: Performance of Templates: time 0.03056/1.096, allocations: 16.63 MB / 0.6483 GB, free: 28.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches