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.001401/0.001401, allocations: 99.14 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.593/1.593, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.251/0.251, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001696/0.001697, allocations: 65.56 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1255, allocations: 57.79 MB / 440.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4866/0.6122, allocations: 153.4 MB / 0.58 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.6303, allocations: 13.27 MB / 0.593 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.6306, allocations: 2.719 kB / 0.593 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.6311, allocations: 79.05 kB / 0.5931 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01194/0.643, allocations: 3.454 MB / 0.5964 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.6435, allocations: 155.6 kB / 0.5966 GB, free: 8.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.6447, allocations: 0.5282 MB / 0.5971 GB, free: 8.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.6448, allocations: 21.36 kB / 0.5971 GB, free: 8.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.6454, allocations: 221 kB / 0.5973 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.6464, allocations: 376.2 kB / 0.5977 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.6465, allocations: 14.84 kB / 0.5977 GB, free: 8.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01245/0.659, allocations: 4.9 MB / 0.6025 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002606/0.6593, allocations: 91.44 kB / 0.6026 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.6597, allocations: 160.3 kB / 0.6027 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009688/0.6694, allocations: 2.588 MB / 0.6053 GB, free: 6.336 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6694, allocations: 0 / 0.6053 GB, free: 6.336 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6695, allocations: 0 / 0.6053 GB, free: 6.336 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.6695, allocations: 0 / 0.6053 GB, free: 6.336 MB / 430.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.004335/0.6738, allocations: 1.12 MB / 0.6064 GB, free: 5.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.6739, allocations: 11.55 kB / 0.6064 GB, free: 5.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.6742, allocations: 36.77 kB / 0.6064 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.6746, allocations: 256.3 kB / 0.6067 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.6747, allocations: 126.5 kB / 0.6068 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.6748, allocations: 37.12 kB / 0.6068 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.676, allocations: 0.5631 MB / 0.6074 GB, free: 4.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.676, allocations: 14.42 kB / 0.6074 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.6761, allocations: 12.94 kB / 0.6074 GB, free: 4.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/0.6762, allocations: 27.77 kB / 0.6074 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.6779, allocations: 1.251 MB / 0.6086 GB, free: 4.66 MB / 430.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.003798/0.6817, allocations: 2.015 MB / 0.6106 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.6828, allocations: 271.1 kB / 0.6109 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.683, allocations: 120.3 kB / 0.611 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005476/0.6885, allocations: 3.353 MB / 0.6142 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.6885, allocations: 36.19 kB / 0.6143 GB, free: 15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.736e-06/0.6886, allocations: 4 kB / 0.6143 GB, free: 15 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002298/0.6909, allocations: 0.7309 MB / 0.615 GB, free: 14.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.6911, allocations: 55.41 kB / 0.6151 GB, free: 14.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.6913, allocations: 206.7 kB / 0.6152 GB, free: 13.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002424/0.6915, allocations: 33.64 kB / 0.6153 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.6917, allocations: 201.8 kB / 0.6155 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.692, allocations: 154.1 kB / 0.6156 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004108/0.6924, allocations: 134.2 kB / 0.6157 GB, free: 13.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003875/0.6928, allocations: 338.8 kB / 0.6161 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.6931, allocations: 105.2 kB / 0.6162 GB, free: 13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.6937, allocations: 413.4 kB / 0.6166 GB, free: 12.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/0.6947, allocations: 0.585 MB / 0.6171 GB, free: 11.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.6947, allocations: 4 kB / 0.6171 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001157/0.6959, allocations: 0.5597 MB / 0.6177 GB, free: 11.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.6959, allocations: 12.94 kB / 0.6177 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.6959, allocations: 8 kB / 0.6177 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.696, allocations: 19.94 kB / 0.6177 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.6968, allocations: 202.8 kB / 0.6179 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.6978, allocations: 1.191 MB / 0.6191 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003718/0.6982, allocations: 27.98 kB / 0.6191 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6983, allocations: 64.17 kB / 0.6192 GB, free: 9.586 MB / 446.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.0003494/0.6987, allocations: 181.4 kB / 0.6193 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6988, allocations: 27.72 kB / 0.6194 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.7003, allocations: 0.648 MB / 0.62 GB, free: 8.688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.7003, allocations: 4 kB / 0.62 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7003, allocations: 0 / 0.62 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.7003, allocations: 3.984 kB / 0.62 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.7016, allocations: 0.646 MB / 0.6206 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.7016, allocations: 4 kB / 0.6206 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/0.7023, allocations: 100.7 kB / 0.6207 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.7023, allocations: 4 kB / 0.6207 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.7023, allocations: 11.98 kB / 0.6208 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007608/0.7031, allocations: 1.172 MB / 0.6219 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7031, allocations: 3.938 kB / 0.6219 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.7037, allocations: 341 kB / 0.6222 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.7039, allocations: 124.8 kB / 0.6224 GB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.704, allocations: 8.219 kB / 0.6224 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.7043, allocations: 19.98 kB / 0.6224 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.7043, allocations: 24.25 kB / 0.6224 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.7044, allocations: 19.94 kB / 0.6224 GB, free: 6.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002784/0.7047, allocations: 176.5 kB / 0.6226 GB, free: 5.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7047, allocations: 0 / 0.6226 GB, free: 5.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002412/0.7071, allocations: 0.5562 MB / 0.6231 GB, free: 5.355 MB / 446.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.003837/0.7109, allocations: 0.8758 MB / 0.624 GB, free: 4.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.7122, allocations: 409.1 kB / 0.6244 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.7122, allocations: 0 / 0.6244 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.7127, allocations: 151.9 kB / 0.6245 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/0.7136, allocations: 128.9 kB / 0.6246 GB, free: 3.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.729, allocations: 8.317 MB / 0.6328 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.7293, allocations: 0.7659 MB / 0.6335 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009495/0.7303, allocations: 186.8 kB / 0.6337 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.7306, allocations: 71.41 kB / 0.6338 GB, free: 11.36 MB / 462.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7306, allocations: 0 / 0.6338 GB, free: 11.36 MB / 462.1 MB Notification: Performance of Templates: time 0.03005/0.7607, allocations: 16.86 MB / 0.6502 GB, free: 10.55 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches