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.001218/0.001218, allocations: 96.91 kB / 15.69 MB, free: 480 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.00222/0.002221, allocations: 174.8 kB / 16.57 MB, free: 6.391 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.548/1.548, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.371/0.371, allocations: 43.55 MB / 314.5 MB, free: 8.988 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.0005385/0.0005386, allocations: 14.97 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1321, allocations: 58.85 MB / 442.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3661/0.4982, allocations: 127.9 MB / 0.5573 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.5109, allocations: 11.35 MB / 0.5683 GB, free: 432 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.5111, allocations: 4 kB / 0.5684 GB, free: 428 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.5115, allocations: 67.62 kB / 0.5684 GB, free: 360 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007632/0.5191, allocations: 2.491 MB / 0.5709 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.5195, allocations: 144.8 kB / 0.571 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.52, allocations: 339.9 kB / 0.5713 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.52, allocations: 23.05 kB / 0.5713 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003622/0.5204, allocations: 223.3 kB / 0.5715 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.521, allocations: 323.3 kB / 0.5719 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.521, allocations: 8 kB / 0.5719 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007357/0.5284, allocations: 4.182 MB / 0.5759 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.5285, allocations: 87.75 kB / 0.576 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.068e-05/0.5286, allocations: 81.58 kB / 0.5761 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002576/0.5312, allocations: 1.577 MB / 0.5776 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5312, allocations: 0 / 0.5776 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5312, allocations: 4 kB / 0.5777 GB, free: 6.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.5312, allocations: 0 / 0.5777 GB, free: 6.902 MB / 446.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.002361/0.5336, allocations: 1.053 MB / 0.5787 GB, free: 5.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5336, allocations: 8.031 kB / 0.5787 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.5338, allocations: 37.34 kB / 0.5787 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.5341, allocations: 242.7 kB / 0.579 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5342, allocations: 143.4 kB / 0.5791 GB, free: 5.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.5343, allocations: 24 kB / 0.5791 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.5349, allocations: 0.5681 MB / 0.5797 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.535, allocations: 4 kB / 0.5797 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.535, allocations: 12 kB / 0.5797 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/0.5351, allocations: 32.48 kB / 0.5797 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.5363, allocations: 1.259 MB / 0.5809 GB, free: 3.391 MB / 446.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.002348/0.5386, allocations: 2.058 MB / 0.583 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/0.5393, allocations: 268.2 kB / 0.5832 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003139/0.5425, allocations: 3.063 MB / 0.5862 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5425, allocations: 43.3 kB / 0.5862 GB, free: 13.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 1.973e-06/0.5425, allocations: 0 / 0.5862 GB, free: 13.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.001727/0.5442, allocations: 0.8113 MB / 0.587 GB, free: 12.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.5443, allocations: 55.41 kB / 0.5871 GB, free: 12.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.5445, allocations: 202.2 kB / 0.5873 GB, free: 12.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.5445, allocations: 29.7 kB / 0.5873 GB, free: 12.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.5446, allocations: 191.8 kB / 0.5875 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5447, allocations: 157.7 kB / 0.5876 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.5448, allocations: 16 kB / 0.5877 GB, free: 11.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5449, allocations: 334.8 kB / 0.588 GB, free: 11.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.5451, allocations: 101.2 kB / 0.5881 GB, free: 11.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.5455, allocations: 409.6 kB / 0.5885 GB, free: 10.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.5457, allocations: 176.8 kB / 0.5886 GB, free: 10.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.5457, allocations: 4 kB / 0.5886 GB, free: 10.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008476/0.5466, allocations: 0.5568 MB / 0.5892 GB, free: 10.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.5466, allocations: 8 kB / 0.5892 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5466, allocations: 12 kB / 0.5892 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.5467, allocations: 16 kB / 0.5892 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.5473, allocations: 204.8 kB / 0.5894 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006559/0.548, allocations: 1.196 MB / 0.5906 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.5483, allocations: 27.94 kB / 0.5906 GB, free: 8.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.849e-05/0.5484, allocations: 67.97 kB / 0.5907 GB, free: 8.5 MB / 462.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.5486, allocations: 181.5 kB / 0.5908 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.5486, allocations: 31.62 kB / 0.5909 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.5499, allocations: 0.6514 MB / 0.5915 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.5499, allocations: 4 kB / 0.5915 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5499, allocations: 0 / 0.5915 GB, free: 7.594 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.55, allocations: 5.672 kB / 0.5915 GB, free: 7.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008995/0.5509, allocations: 0.6614 MB / 0.5922 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5509, allocations: 3.938 kB / 0.5922 GB, free: 6.867 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.5513, allocations: 99.92 kB / 0.5923 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5513, allocations: 0 / 0.5923 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.5513, allocations: 12 kB / 0.5923 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000602/0.552, allocations: 1.172 MB / 0.5934 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.552, allocations: 0 / 0.5934 GB, free: 5.539 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004237/0.5524, allocations: 358.3 kB / 0.5938 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.5526, allocations: 144.7 kB / 0.5939 GB, free: 5.004 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.5526, allocations: 11.12 kB / 0.5939 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.5529, allocations: 16.09 kB / 0.5939 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.5529, allocations: 28.23 kB / 0.594 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.553, allocations: 20 kB / 0.594 GB, free: 4.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.5531, allocations: 168.5 kB / 0.5941 GB, free: 4.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5531, allocations: 0 / 0.5941 GB, free: 4.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0016/0.5547, allocations: 0.5465 MB / 0.5947 GB, free: 4.223 MB / 462.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001838/0.5566, allocations: 0.8327 MB / 0.5955 GB, free: 3.387 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007746/0.5574, allocations: 382.7 kB / 0.5958 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5574, allocations: 0 / 0.5958 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.5577, allocations: 144 kB / 0.596 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005269/0.5583, allocations: 100.2 kB / 0.5961 GB, free: 2.781 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.5594, allocations: 0.7384 MB / 0.5968 GB, free: 2.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.5598, allocations: 0.7776 MB / 0.5976 GB, free: 1.223 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007561/0.5605, allocations: 186.7 kB / 0.5977 GB, free: 1.043 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.5607, allocations: 71.39 kB / 0.5978 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5607, allocations: 0 / 0.5978 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of Templates: time 0.02319/0.5839, allocations: 15.73 MB / 0.6132 GB, free: 1.258 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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