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.001477/0.001477, allocations: 111.2 kB / 17.04 MB, free: 5.812 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.001616/0.001616, allocations: 195 kB / 17.97 MB, free: 5.027 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.386/1.386, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2074/0.2074, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 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.001494/0.001495, allocations: 67.33 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 57.79 MB / 442 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4578/0.571, allocations: 153.4 MB / 0.5815 GB, free: 13.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.5837, allocations: 13.27 MB / 0.5944 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.5839, allocations: 2.938 kB / 0.5944 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.5844, allocations: 79.39 kB / 0.5945 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008572/0.593, allocations: 3.453 MB / 0.5979 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.5933, allocations: 155 kB / 0.598 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.594, allocations: 0.5326 MB / 0.5985 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.225e-05/0.5941, allocations: 14.47 kB / 0.5985 GB, free: 9.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003057/0.5944, allocations: 231.8 kB / 0.5988 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.5951, allocations: 370.7 kB / 0.5991 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.5951, allocations: 14.97 kB / 0.5991 GB, free: 9.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008499/0.6036, allocations: 5.025 MB / 0.604 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.6038, allocations: 103.1 kB / 0.6041 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.604, allocations: 153.8 kB / 0.6043 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005703/0.6097, allocations: 2.586 MB / 0.6068 GB, free: 6.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6097, allocations: 3.984 kB / 0.6068 GB, free: 6.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6097, allocations: 0 / 0.6068 GB, free: 6.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.6097, allocations: 0 / 0.6068 GB, free: 6.98 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.003497/0.6133, allocations: 1.119 MB / 0.6079 GB, free: 6.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6133, allocations: 11.67 kB / 0.6079 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.6136, allocations: 36.86 kB / 0.608 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.614, allocations: 261.4 kB / 0.6082 GB, free: 5.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.6141, allocations: 128.5 kB / 0.6083 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.6142, allocations: 27.47 kB / 0.6084 GB, free: 5.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.615, allocations: 0.5766 MB / 0.6089 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.615, allocations: 3.938 kB / 0.6089 GB, free: 5.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.615, allocations: 12.31 kB / 0.6089 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/0.6151, allocations: 24.98 kB / 0.609 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.6165, allocations: 1.259 MB / 0.6102 GB, free: 5.02 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.002449/0.6189, allocations: 2.013 MB / 0.6122 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.6196, allocations: 269 kB / 0.6124 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.6198, allocations: 119.3 kB / 0.6125 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003444/0.6233, allocations: 3.349 MB / 0.6158 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.6233, allocations: 38.56 kB / 0.6158 GB, free: 15.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.924e-06/0.6233, allocations: 0 / 0.6158 GB, free: 15.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.001736/0.625, allocations: 0.738 MB / 0.6166 GB, free: 14.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.6251, allocations: 55.41 kB / 0.6166 GB, free: 14.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.6253, allocations: 202.7 kB / 0.6168 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.6253, allocations: 33.7 kB / 0.6168 GB, free: 14.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6254, allocations: 198.2 kB / 0.617 GB, free: 13.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.461e-05/0.6255, allocations: 148.8 kB / 0.6172 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.6257, allocations: 142.2 kB / 0.6173 GB, free: 13.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6258, allocations: 334.8 kB / 0.6176 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.626, allocations: 109.2 kB / 0.6177 GB, free: 13.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.6264, allocations: 417.4 kB / 0.6181 GB, free: 12.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.627, allocations: 0.5795 MB / 0.6187 GB, free: 11.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.627, allocations: 0 / 0.6187 GB, free: 11.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009475/0.628, allocations: 0.5648 MB / 0.6192 GB, free: 11.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.628, allocations: 11.94 kB / 0.6192 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.628, allocations: 15.94 kB / 0.6193 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.6281, allocations: 20.72 kB / 0.6193 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.6287, allocations: 203.5 kB / 0.6195 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006101/0.6293, allocations: 1.191 MB / 0.6206 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.6296, allocations: 24 kB / 0.6207 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/0.6297, allocations: 63.98 kB / 0.6207 GB, free: 9.77 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.0001756/0.6299, allocations: 185.6 kB / 0.6209 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/0.63, allocations: 27.72 kB / 0.6209 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.6311, allocations: 0.6403 MB / 0.6216 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6312, allocations: 4 kB / 0.6216 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6312, allocations: 4 kB / 0.6216 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6312, allocations: 3.984 kB / 0.6216 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000874/0.6321, allocations: 0.644 MB / 0.6222 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6321, allocations: 32 / 0.6222 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.6325, allocations: 107.9 kB / 0.6223 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.6325, allocations: 3.984 kB / 0.6223 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.6326, allocations: 8 kB / 0.6223 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005157/0.6331, allocations: 1.176 MB / 0.6235 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6331, allocations: 4.062 kB / 0.6235 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.6336, allocations: 338.9 kB / 0.6238 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.6337, allocations: 124.8 kB / 0.6239 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.6338, allocations: 8 kB / 0.6239 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.634, allocations: 11.98 kB / 0.6239 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.6341, allocations: 24.25 kB / 0.6239 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.6341, allocations: 31.92 kB / 0.624 GB, free: 6.266 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.6343, allocations: 172.5 kB / 0.6241 GB, free: 6.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6343, allocations: 0 / 0.6241 GB, free: 6.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001681/0.636, allocations: 0.5542 MB / 0.6247 GB, free: 5.543 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.002611/0.6386, allocations: 0.8696 MB / 0.6255 GB, free: 4.727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008322/0.6394, allocations: 385.3 kB / 0.6259 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6395, allocations: 0 / 0.6259 GB, free: 4.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.6398, allocations: 147.6 kB / 0.626 GB, free: 4.211 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.6406, allocations: 137.1 kB / 0.6262 GB, free: 4.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.6525, allocations: 8.304 MB / 0.6343 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.6529, allocations: 0.7737 MB / 0.635 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006418/0.6536, allocations: 182.9 kB / 0.6352 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.6538, allocations: 79.33 kB / 0.6353 GB, free: 11.57 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6538, allocations: 0 / 0.6353 GB, free: 11.57 MB / 462.1 MB Notification: Performance of Templates: time 0.02762/0.6815, allocations: 16.85 MB / 0.6517 GB, free: 10.77 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 -s gbode -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