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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 101.7 kB / 16.27 MB, free: 5.969 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.001231/0.001231, allocations: 186 kB / 17.19 MB, free: 5.605 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.417/1.417, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.264/0.264, allocations: 43.51 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.001619/0.001619, allocations: 66.02 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1025, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3886/0.4911, allocations: 153.5 MB / 0.5801 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.5044, allocations: 13.27 MB / 0.5931 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.5046, allocations: 4 kB / 0.5931 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.5051, allocations: 83.12 kB / 0.5932 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008534/0.5137, allocations: 3.442 MB / 0.5965 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.5141, allocations: 163.4 kB / 0.5967 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007049/0.5148, allocations: 0.5273 MB / 0.5972 GB, free: 8.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.5149, allocations: 17.47 kB / 0.5972 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003852/0.5153, allocations: 227.3 kB / 0.5974 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000733/0.516, allocations: 373.4 kB / 0.5978 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.5161, allocations: 15.25 kB / 0.5978 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00828/0.5244, allocations: 4.887 MB / 0.6026 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.5246, allocations: 104.1 kB / 0.6027 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.5248, allocations: 157.6 kB / 0.6028 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006135/0.531, allocations: 2.589 MB / 0.6054 GB, free: 6.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.531, allocations: 2.906 kB / 0.6054 GB, free: 6.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.531, allocations: 0 / 0.6054 GB, free: 6.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.531, allocations: 0 / 0.6054 GB, free: 6.383 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.003224/0.5342, allocations: 1.125 MB / 0.6065 GB, free: 5.594 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.5343, allocations: 13.7 kB / 0.6065 GB, free: 5.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.131e-05/0.5344, allocations: 75.38 kB / 0.6066 GB, free: 5.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.5347, allocations: 36.03 kB / 0.6066 GB, free: 5.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.5351, allocations: 263.8 kB / 0.6068 GB, free: 5.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.5352, allocations: 125.1 kB / 0.607 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.5353, allocations: 32 kB / 0.607 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.5361, allocations: 0.5683 MB / 0.6075 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5362, allocations: 0 / 0.6075 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.5362, allocations: 15.31 kB / 0.6076 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/0.5363, allocations: 32.64 kB / 0.6076 GB, free: 4.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.5377, allocations: 1.261 MB / 0.6088 GB, free: 4.641 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.002692/0.5404, allocations: 2 MB / 0.6108 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.5411, allocations: 270.5 kB / 0.611 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001906/0.5414, allocations: 122 kB / 0.6111 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0037/0.5451, allocations: 3.35 MB / 0.6144 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.5451, allocations: 38.56 kB / 0.6145 GB, free: 14.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.955e-06/0.5451, allocations: 0 / 0.6145 GB, free: 14.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.002247/0.5474, allocations: 0.7244 MB / 0.6152 GB, free: 14.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.5474, allocations: 55.41 kB / 0.6152 GB, free: 14.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.5477, allocations: 210.6 kB / 0.6154 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.5477, allocations: 37.7 kB / 0.6155 GB, free: 13.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5479, allocations: 186.9 kB / 0.6156 GB, free: 13.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.548, allocations: 159 kB / 0.6158 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.5482, allocations: 138.2 kB / 0.6159 GB, free: 13.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5484, allocations: 334.8 kB / 0.6162 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.5486, allocations: 109.2 kB / 0.6163 GB, free: 12.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.5491, allocations: 421.3 kB / 0.6167 GB, free: 12.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007606/0.5498, allocations: 0.5747 MB / 0.6173 GB, free: 11.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.5499, allocations: 0 / 0.6173 GB, free: 11.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001026/0.5509, allocations: 0.5732 MB / 0.6179 GB, free: 11.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.5509, allocations: 8 kB / 0.6179 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.551, allocations: 12 kB / 0.6179 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.551, allocations: 12 kB / 0.6179 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.5517, allocations: 197.3 kB / 0.6181 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007361/0.5525, allocations: 1.195 MB / 0.6192 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.5528, allocations: 20 kB / 0.6193 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.553, allocations: 67.97 kB / 0.6193 GB, free: 9.523 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.000235/0.5532, allocations: 193.6 kB / 0.6195 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5533, allocations: 27.72 kB / 0.6195 GB, free: 9.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.5546, allocations: 0.647 MB / 0.6202 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5547, allocations: 4 kB / 0.6202 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5547, allocations: 0.8125 kB / 0.6202 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5547, allocations: 4 kB / 0.6202 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.5558, allocations: 0.6506 MB / 0.6208 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5558, allocations: 0 / 0.6208 GB, free: 7.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.5563, allocations: 96.69 kB / 0.6209 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.5563, allocations: 0 / 0.6209 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.5563, allocations: 14.91 kB / 0.6209 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006478/0.557, allocations: 1.177 MB / 0.6221 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.557, allocations: 4.031 kB / 0.6221 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/0.5575, allocations: 344.9 kB / 0.6224 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.5577, allocations: 120.8 kB / 0.6225 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.5577, allocations: 11.91 kB / 0.6225 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.558, allocations: 12 kB / 0.6225 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.5581, allocations: 24.34 kB / 0.6226 GB, free: 6.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.5581, allocations: 27.98 kB / 0.6226 GB, free: 6.008 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.5583, allocations: 168.5 kB / 0.6228 GB, free: 5.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5583, allocations: 0 / 0.6228 GB, free: 5.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001856/0.5601, allocations: 0.5659 MB / 0.6233 GB, free: 5.277 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.003401/0.5636, allocations: 1.663 MB / 0.6249 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.5647, allocations: 389.8 kB / 0.6253 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5647, allocations: 4.25 kB / 0.6253 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.5652, allocations: 154.1 kB / 0.6255 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.566, allocations: 124.4 kB / 0.6256 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/0.5841, allocations: 11.25 MB / 0.6366 GB, free: 8.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.5845, allocations: 0.7701 MB / 0.6373 GB, free: 7.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008829/0.5854, allocations: 186.8 kB / 0.6375 GB, free: 7.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.5857, allocations: 131.4 kB / 0.6376 GB, free: 7.141 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5858, allocations: 0 / 0.6376 GB, free: 7.141 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04831/0.6341, allocations: 20.32 MB / 0.6575 GB, free: 2.805 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.82, allocations: 15.47 kB / 0.6575 GB, free: 2.793 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.csv","/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