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.0009546/0.0009546, allocations: 96.94 kB / 16.02 MB, free: 84 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.001166/0.001166, allocations: 176.4 kB / 16.91 MB, free: 6.648 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.614/1.614, allocations: 205.4 MB / 223.1 MB, free: 5.215 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.4325/0.4325, allocations: 43.57 MB / 315 MB, free: 8.941 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.0005991/0.0005997, allocations: 18.66 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1537, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4974/0.6511, allocations: 149.3 MB / 0.5789 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.6695, allocations: 13.55 MB / 0.5921 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.6699, allocations: 0 / 0.5921 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.6706, allocations: 75.62 kB / 0.5922 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.6819, allocations: 3.026 MB / 0.5951 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.6824, allocations: 153.5 kB / 0.5953 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.6837, allocations: 0.7713 MB / 0.596 GB, free: 4.129 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.89e-05/0.6838, allocations: 19.06 kB / 0.5961 GB, free: 4.113 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006225/0.6845, allocations: 211.2 kB / 0.5963 GB, free: 3.906 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.6857, allocations: 398.9 kB / 0.5966 GB, free: 3.516 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-05/0.6858, allocations: 8 kB / 0.5966 GB, free: 3.508 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.6981, allocations: 5.416 MB / 0.6019 GB, free: 14.08 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.6984, allocations: 99.61 kB / 0.602 GB, free: 13.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.6989, allocations: 173 kB / 0.6022 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.7089, allocations: 2.759 MB / 0.6049 GB, free: 11.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/0.709, allocations: 0 / 0.6049 GB, free: 11.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.814e-06/0.709, allocations: 4 kB / 0.6049 GB, free: 11.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.704e-05/0.709, allocations: 0 / 0.6049 GB, free: 11.04 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.004036/0.7131, allocations: 1.053 MB / 0.6059 GB, free: 9.941 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.7132, allocations: 16.03 kB / 0.6059 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/0.7134, allocations: 36.75 kB / 0.606 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.7139, allocations: 258.5 kB / 0.6062 GB, free: 9.602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/0.7141, allocations: 127.5 kB / 0.6063 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.7141, allocations: 28 kB / 0.6064 GB, free: 9.426 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009301/0.7151, allocations: 0.5681 MB / 0.6069 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.7151, allocations: 0 / 0.6069 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.7152, allocations: 16 kB / 0.6069 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.452e-05/0.7152, allocations: 32.53 kB / 0.607 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.7168, allocations: 1.255 MB / 0.6082 GB, free: 7.527 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.002868/0.7197, allocations: 2.007 MB / 0.6102 GB, free: 5.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007715/0.7205, allocations: 271.9 kB / 0.6104 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.7207, allocations: 126 kB / 0.6105 GB, free: 4.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004225/0.7249, allocations: 3.345 MB / 0.6138 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.725, allocations: 38.56 kB / 0.6138 GB, free: 1.039 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 3.276e-06/0.725, allocations: 0 / 0.6138 GB, free: 1.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.002132/0.7272, allocations: 0.7327 MB / 0.6145 GB, free: 288 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.7272, allocations: 55.41 kB / 0.6146 GB, free: 220 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.7275, allocations: 202.3 kB / 0.6148 GB, free: 8 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.7275, allocations: 33.7 kB / 0.6148 GB, free: 15.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.7277, allocations: 195.7 kB / 0.615 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.7279, allocations: 149.8 kB / 0.6152 GB, free: 15.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.728, allocations: 53.69 kB / 0.6152 GB, free: 15.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7281, allocations: 334.8 kB / 0.6155 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.7283, allocations: 105.2 kB / 0.6156 GB, free: 15.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005051/0.7289, allocations: 421.4 kB / 0.616 GB, free: 14.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/0.7297, allocations: 0.5785 MB / 0.6166 GB, free: 13.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.7297, allocations: 8 kB / 0.6166 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001242/0.7309, allocations: 0.5561 MB / 0.6171 GB, free: 13.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.731, allocations: 20.05 kB / 0.6172 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.731, allocations: 8 kB / 0.6172 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.7311, allocations: 16 kB / 0.6172 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000698/0.7318, allocations: 198.9 kB / 0.6174 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008017/0.7326, allocations: 1.199 MB / 0.6185 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.733, allocations: 23.91 kB / 0.6186 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.7332, allocations: 75.91 kB / 0.6186 GB, free: 11.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.0002614/0.7334, allocations: 177.5 kB / 0.6188 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.7335, allocations: 27.72 kB / 0.6188 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.735, allocations: 0.638 MB / 0.6195 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.735, allocations: 8 kB / 0.6195 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.7351, allocations: 0 / 0.6195 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7351, allocations: 0 / 0.6195 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.7361, allocations: 0.6575 MB / 0.6201 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.7362, allocations: 0 / 0.6201 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.7366, allocations: 101.6 kB / 0.6202 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.7367, allocations: 0 / 0.6202 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.7367, allocations: 12.03 kB / 0.6202 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007465/0.7374, allocations: 1.172 MB / 0.6214 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7375, allocations: 0 / 0.6214 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.738, allocations: 352.8 kB / 0.6217 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.7382, allocations: 144.6 kB / 0.6218 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.7382, allocations: 8 kB / 0.6218 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.7385, allocations: 11.98 kB / 0.6219 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.7386, allocations: 32.19 kB / 0.6219 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.7386, allocations: 19.98 kB / 0.6219 GB, free: 8.172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.7389, allocations: 180.5 kB / 0.6221 GB, free: 7.996 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7389, allocations: 0 / 0.6221 GB, free: 7.996 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002065/0.7409, allocations: 0.5387 MB / 0.6226 GB, free: 7.457 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.00305/0.744, allocations: 0.8901 MB / 0.6235 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009992/0.745, allocations: 379.2 kB / 0.6238 GB, free: 6.195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.745, allocations: 0 / 0.6238 GB, free: 6.195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.7454, allocations: 149.3 kB / 0.624 GB, free: 6.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008334/0.7462, allocations: 128.8 kB / 0.6241 GB, free: 5.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2624/1.009, allocations: 8.445 MB / 0.6323 GB, free: 151.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/1.009, allocations: 0.7735 MB / 0.6331 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008897/1.01, allocations: 189.2 kB / 0.6333 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.01, allocations: 68.69 kB / 0.6334 GB, free: 150.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/1.01, allocations: 0 / 0.6334 GB, free: 150.8 MB / 494.1 MB Notification: Performance of Templates: time 0.02739/1.037, allocations: 16.58 MB / 0.6495 GB, free: 149.5 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