Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",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.001573/0.001573, allocations: 102.5 kB / 16.27 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.0018/0.0018, allocations: 188.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.472/1.472, 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.2124/0.2124, allocations: 43.51 MB / 313.9 MB, free: 0.5195 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.001671/0.001671, allocations: 69.5 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1017, allocations: 57.79 MB / 440.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4146/0.5164, allocations: 147.6 MB / 0.5744 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00667/0.5231, allocations: 5.586 MB / 0.5799 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008562/0.524, allocations: 20.38 kB / 0.5799 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.5251, allocations: 325.9 kB / 0.5802 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.527, allocations: 0.8554 MB / 0.581 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.5296, allocations: 1.027 MB / 0.582 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.5316, allocations: 1.797 MB / 0.5838 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007457/0.5323, allocations: 455.4 kB / 0.5842 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.5337, allocations: 0.7574 MB / 0.585 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009324/0.5346, allocations: 0.7079 MB / 0.5857 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.5347, allocations: 66.95 kB / 0.5857 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.536, allocations: 0.5317 MB / 0.5862 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.5363, allocations: 263 kB / 0.5865 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.5368, allocations: 397.2 kB / 0.5869 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.5387, allocations: 1.125 MB / 0.588 GB, free: 9.891 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.5387, allocations: 0 / 0.588 GB, free: 9.891 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.5387, allocations: 4 kB / 0.588 GB, free: 9.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.5387, allocations: 3.938 kB / 0.588 GB, free: 9.883 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002065/0.5408, allocations: 1.057 MB / 0.589 GB, free: 9.168 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5409, allocations: 13.98 kB / 0.589 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/0.541, allocations: 97.09 kB / 0.5891 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.5414, allocations: 90.55 kB / 0.5892 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.5422, allocations: 0.5114 MB / 0.5897 GB, free: 8.719 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.5423, allocations: 109.1 kB / 0.5898 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.5424, allocations: 44.31 kB / 0.5899 GB, free: 8.648 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.5435, allocations: 0.826 MB / 0.5907 GB, free: 8.293 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.5436, allocations: 5.797 kB / 0.5907 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.5437, allocations: 23.84 kB / 0.5907 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.258e-05/0.5437, allocations: 42.86 kB / 0.5907 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.5447, allocations: 0.6493 MB / 0.5914 GB, free: 8.164 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.004086/0.5488, allocations: 3.98 MB / 0.5952 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.5495, allocations: 423.1 kB / 0.5957 GB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.5498, allocations: 203.3 kB / 0.5958 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/0.5504, allocations: 0.739 MB / 0.5966 GB, free: 4.168 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.5505, allocations: 39.03 kB / 0.5966 GB, free: 4.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.425e-06/0.5505, allocations: 0 / 0.5966 GB, free: 4.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003201/0.5537, allocations: 1.545 MB / 0.5981 GB, free: 3.266 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.5538, allocations: 133.3 kB / 0.5982 GB, free: 3.109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.5544, allocations: 0.5706 MB / 0.5988 GB, free: 2.773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.5544, allocations: 32.45 kB / 0.5988 GB, free: 2.738 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.5547, allocations: 361.7 kB / 0.5992 GB, free: 2.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5548, allocations: 160 kB / 0.5993 GB, free: 2.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.555, allocations: 139 kB / 0.5995 GB, free: 2.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5552, allocations: 369.9 kB / 0.5998 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.5555, allocations: 213.3 kB / 0.6 GB, free: 1.742 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005353/0.5561, allocations: 0.5161 MB / 0.6005 GB, free: 1.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.557, allocations: 0.763 MB / 0.6013 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.557, allocations: 2.188 kB / 0.6013 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001473/0.5585, allocations: 0.9176 MB / 0.6022 GB, free: 100 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.5585, allocations: 11.53 kB / 0.6022 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5585, allocations: 9.781 kB / 0.6022 GB, free: 96 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.5599, allocations: 294.3 kB / 0.6025 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.5603, allocations: 121 kB / 0.6026 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009439/0.5612, allocations: 0.8858 MB / 0.6034 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.5617, allocations: 26.47 kB / 0.6035 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.5617, allocations: 42.45 kB / 0.6035 GB, free: 15.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.562, allocations: 246.6 kB / 0.6037 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5622, allocations: 66.34 kB / 0.6038 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.5635, allocations: 0.7705 MB / 0.6046 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5635, allocations: 3.469 kB / 0.6046 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.5635, allocations: 2.5 kB / 0.6046 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.5635, allocations: 7.922 kB / 0.6046 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.5653, allocations: 1.411 MB / 0.606 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5653, allocations: 2.781 kB / 0.606 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009829/0.5663, allocations: 208 kB / 0.6062 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.466e-05/0.5664, allocations: 29.69 kB / 0.6062 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.5664, allocations: 13.03 kB / 0.6062 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.5684, allocations: 2.878 MB / 0.609 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5685, allocations: 2.594 kB / 0.609 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.5698, allocations: 1.006 MB / 0.61 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/0.5701, allocations: 201.3 kB / 0.6102 GB, free: 9.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.685e-05/0.5702, allocations: 11.31 kB / 0.6102 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.5706, allocations: 21.42 kB / 0.6102 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.5707, allocations: 39.48 kB / 0.6102 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.5707, allocations: 27.14 kB / 0.6103 GB, free: 9.383 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005651/0.5713, allocations: 432.7 kB / 0.6107 GB, free: 9.133 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5713, allocations: 0 / 0.6107 GB, free: 9.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007847/0.5721, allocations: 223.5 kB / 0.6109 GB, free: 9.094 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/0.5741, allocations: 1.716 MB / 0.6126 GB, free: 7.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.5755, allocations: 0.6539 MB / 0.6132 GB, free: 7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5755, allocations: 3.859 kB / 0.6132 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5765, allocations: 450.3 kB / 0.6136 GB, free: 6.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.5782, allocations: 388.2 kB / 0.614 GB, free: 6.172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009387/0.5876, allocations: 6.715 MB / 0.6206 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.5882, allocations: 0.9424 MB / 0.6215 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007817/0.589, allocations: 210.1 kB / 0.6217 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.5893, allocations: 231.4 kB / 0.6219 GB, free: 13.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5893, allocations: 0 / 0.6219 GB, free: 13.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.6392, allocations: 22.28 MB / 0.6437 GB, free: 7.402 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.53, allocations: 7.906 kB / 0.6437 GB, free: 7.395 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches