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.001215/0.001215, allocations: 102.8 kB / 16.94 MB, free: 6.203 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.00137/0.00137, allocations: 187.3 kB / 17.86 MB, free: 5.312 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.378/1.378, allocations: 205.1 MB / 223.7 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.2134/0.2134, allocations: 43.53 MB / 314.6 MB, free: 0.5312 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.001641/0.001641, allocations: 68.16 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09483, allocations: 57.79 MB / 441.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3846/0.4795, allocations: 153.4 MB / 0.5807 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0136/0.4931, allocations: 13.27 MB / 0.5937 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.4934, allocations: 2.875 kB / 0.5937 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.4939, allocations: 82.66 kB / 0.5937 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009968/0.5039, allocations: 3.452 MB / 0.5971 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.5043, allocations: 154.5 kB / 0.5973 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007053/0.505, allocations: 0.5236 MB / 0.5978 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.093e-05/0.5051, allocations: 22.27 kB / 0.5978 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.5054, allocations: 223.9 kB / 0.598 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/0.5061, allocations: 379.4 kB / 0.5984 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.506e-05/0.5062, allocations: 12.84 kB / 0.5984 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009347/0.5155, allocations: 4.889 MB / 0.6031 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.5157, allocations: 100.1 kB / 0.6032 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.516, allocations: 158.3 kB / 0.6034 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007036/0.5231, allocations: 2.585 MB / 0.6059 GB, free: 6.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5231, allocations: 0 / 0.6059 GB, free: 6.816 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5231, allocations: 0 / 0.6059 GB, free: 6.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.5231, allocations: 2.688 kB / 0.6059 GB, free: 6.816 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.003591/0.5267, allocations: 1.121 MB / 0.607 GB, free: 6.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5268, allocations: 13.92 kB / 0.607 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.527, allocations: 36.98 kB / 0.6071 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.5274, allocations: 254.5 kB / 0.6073 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.5276, allocations: 125.2 kB / 0.6074 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.5276, allocations: 30.48 kB / 0.6075 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.5285, allocations: 0.5696 MB / 0.608 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5285, allocations: 0 / 0.608 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.5286, allocations: 21.19 kB / 0.608 GB, free: 5.434 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.5286, allocations: 36.97 kB / 0.6081 GB, free: 5.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.53, allocations: 1.257 MB / 0.6093 GB, free: 5.016 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.002578/0.5326, allocations: 2.01 MB / 0.6113 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007612/0.5334, allocations: 274 kB / 0.6115 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.5336, allocations: 118.8 kB / 0.6116 GB, free: 3.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003734/0.5373, allocations: 3.347 MB / 0.6149 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.5374, allocations: 38.56 kB / 0.6149 GB, free: 15.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.465e-06/0.5374, allocations: 0 / 0.6149 GB, free: 15.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002065/0.5394, allocations: 0.7334 MB / 0.6157 GB, free: 14.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.5395, allocations: 55.41 kB / 0.6157 GB, free: 14.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.5397, allocations: 202.7 kB / 0.6159 GB, free: 14.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.5397, allocations: 33.7 kB / 0.6159 GB, free: 14.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.5399, allocations: 195.7 kB / 0.6161 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.54, allocations: 158.3 kB / 0.6163 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.5402, allocations: 138.2 kB / 0.6164 GB, free: 13.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.5404, allocations: 334.8 kB / 0.6167 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.5406, allocations: 113.2 kB / 0.6168 GB, free: 13.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.541, allocations: 417.4 kB / 0.6172 GB, free: 12.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.5418, allocations: 0.5775 MB / 0.6178 GB, free: 11.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5418, allocations: 4 kB / 0.6178 GB, free: 11.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001073/0.5429, allocations: 0.5679 MB / 0.6184 GB, free: 11.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5429, allocations: 8 kB / 0.6184 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/0.543, allocations: 12 kB / 0.6184 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.543, allocations: 12 kB / 0.6184 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007116/0.5437, allocations: 197.8 kB / 0.6186 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007432/0.5445, allocations: 1.2 MB / 0.6197 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.5448, allocations: 20 kB / 0.6198 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/0.5449, allocations: 63.97 kB / 0.6198 GB, free: 9.75 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.0002295/0.5452, allocations: 185.4 kB / 0.62 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5453, allocations: 31.91 kB / 0.62 GB, free: 9.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.5467, allocations: 0.6428 MB / 0.6207 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.5467, allocations: 7.984 kB / 0.6207 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5467, allocations: 4.562 kB / 0.6207 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.5467, allocations: 0 / 0.6207 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.5478, allocations: 0.6459 MB / 0.6213 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-06/0.5478, allocations: 0 / 0.6213 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.5484, allocations: 103.5 kB / 0.6214 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.5484, allocations: 4 kB / 0.6214 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.5484, allocations: 14.05 kB / 0.6214 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000626/0.549, allocations: 1.172 MB / 0.6226 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.171e-05/0.5491, allocations: 4.219 kB / 0.6226 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.5495, allocations: 344.9 kB / 0.6229 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.5497, allocations: 124.8 kB / 0.623 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.5498, allocations: 8 kB / 0.623 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.55, allocations: 11.98 kB / 0.623 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.5501, allocations: 24.25 kB / 0.6231 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.974e-05/0.5501, allocations: 28 kB / 0.6231 GB, free: 6.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.5503, allocations: 168.5 kB / 0.6232 GB, free: 6.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.5503, allocations: 0 / 0.6232 GB, free: 6.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001735/0.5521, allocations: 0.562 MB / 0.6238 GB, free: 5.512 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.002684/0.5548, allocations: 0.8723 MB / 0.6246 GB, free: 4.691 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.5559, allocations: 405.6 kB / 0.625 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.556, allocations: 0 / 0.625 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004494/0.5564, allocations: 152 kB / 0.6252 GB, free: 4.148 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.5573, allocations: 126.9 kB / 0.6253 GB, free: 4.031 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.5705, allocations: 8.343 MB / 0.6334 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.5709, allocations: 0.7659 MB / 0.6342 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.5713, allocations: 95.38 kB / 0.6343 GB, free: 11.64 MB / 462.1 MB Notification: Performance of SimCode: time 1.332e-06/0.5713, allocations: 0 / 0.6343 GB, free: 11.64 MB / 462.1 MB Notification: Performance of Templates: time 0.02284/0.5942, allocations: 14.68 MB / 0.6486 GB, free: 12.96 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/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