Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.001758/0.001758, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001885/0.001885, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.401/1.401, allocations: 205.1 MB / 223.2 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.2122/0.2122, allocations: 43.52 MB / 314.1 MB, free: 468 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.002025/0.002025, allocations: 68.38 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1121, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.398/0.5101, allocations: 179.7 MB / 0.6629 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.5214, allocations: 8.18 MB / 0.6709 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/0.522, allocations: 19.88 kB / 0.6709 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008648/0.5229, allocations: 318 kB / 0.6712 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.5265, allocations: 1.485 MB / 0.6727 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.5293, allocations: 1.144 MB / 0.6738 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.5315, allocations: 1.849 MB / 0.6756 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.5321, allocations: 460.2 kB / 0.676 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002402/0.5345, allocations: 1.23 MB / 0.6772 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009507/0.5355, allocations: 0.6579 MB / 0.6779 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.5356, allocations: 60 kB / 0.6779 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.5373, allocations: 0.827 MB / 0.6787 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.5377, allocations: 259.3 kB / 0.679 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004702/0.5381, allocations: 402.2 kB / 0.6794 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.5402, allocations: 1.425 MB / 0.6808 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5402, allocations: 0 / 0.6808 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5402, allocations: 4 kB / 0.6808 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.5403, allocations: 0 / 0.6808 GB, free: 4.77 MB / 0.5137 GB 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.002342/0.5426, allocations: 1.156 MB / 0.6819 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5426, allocations: 11.89 kB / 0.6819 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/0.5428, allocations: 102.5 kB / 0.682 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008155/0.5436, allocations: 135.5 kB / 0.6821 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008726/0.5445, allocations: 0.5434 MB / 0.6827 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.5446, allocations: 104.4 kB / 0.6828 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/0.5447, allocations: 48.86 kB / 0.6828 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.546, allocations: 0.8136 MB / 0.6836 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5461, allocations: 0 / 0.6836 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.5461, allocations: 27.98 kB / 0.6836 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.5462, allocations: 40.92 kB / 0.6837 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.5473, allocations: 0.6205 MB / 0.6843 GB, free: 0.9883 MB / 0.5137 GB 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.004759/0.5521, allocations: 3.985 MB / 0.6882 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.5527, allocations: 364.2 kB / 0.6885 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.553, allocations: 169.3 kB / 0.6887 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004446/0.5534, allocations: 357.5 kB / 0.689 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.5535, allocations: 38.84 kB / 0.689 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 3.747e-06/0.5535, allocations: 3.984 kB / 0.6891 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005487/0.559, allocations: 1.685 MB / 0.6907 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.5591, allocations: 144.5 kB / 0.6908 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.5599, allocations: 0.6094 MB / 0.6914 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.56, allocations: 41.7 kB / 0.6915 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.5603, allocations: 363.9 kB / 0.6918 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.5604, allocations: 154.7 kB / 0.692 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.5607, allocations: 158.6 kB / 0.6921 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.5608, allocations: 374.8 kB / 0.6925 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.5612, allocations: 201.9 kB / 0.6927 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006214/0.5618, allocations: 0.5125 MB / 0.6932 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.5629, allocations: 0.7523 MB / 0.6939 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5629, allocations: 0 / 0.6939 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001487/0.5644, allocations: 0.8839 MB / 0.6948 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5644, allocations: 8 kB / 0.6948 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.5644, allocations: 12 kB / 0.6948 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.5659, allocations: 313.4 kB / 0.6951 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.5663, allocations: 119.8 kB / 0.6952 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.5675, allocations: 0.9309 MB / 0.6961 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.5679, allocations: 31.98 kB / 0.6961 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/0.568, allocations: 60 kB / 0.6962 GB, free: 3.992 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003774/0.5684, allocations: 257.6 kB / 0.6964 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5686, allocations: 67.58 kB / 0.6965 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.5701, allocations: 0.6861 MB / 0.6972 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.5701, allocations: 4 kB / 0.6972 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5701, allocations: 11.94 kB / 0.6972 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5701, allocations: 3.984 kB / 0.6972 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.5727, allocations: 1.607 MB / 0.6988 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5727, allocations: 0 / 0.6988 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.5738, allocations: 207.9 kB / 0.699 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/0.5739, allocations: 20.84 kB / 0.699 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.574, allocations: 23.98 kB / 0.699 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.5765, allocations: 2.877 MB / 0.7018 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5766, allocations: 0 / 0.7018 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.578, allocations: 0.813 MB / 0.7026 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.5783, allocations: 196.6 kB / 0.7028 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.5784, allocations: 8 kB / 0.7028 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.5788, allocations: 24.05 kB / 0.7028 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5789, allocations: 39.89 kB / 0.7029 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.579, allocations: 47.92 kB / 0.7029 GB, free: 12.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006682/0.5797, allocations: 439 kB / 0.7033 GB, free: 12.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.5797, allocations: 3.938 kB / 0.7033 GB, free: 12.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001034/0.5808, allocations: 295.6 kB / 0.7036 GB, free: 11.88 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002603/0.5834, allocations: 1.616 MB / 0.7052 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.5847, allocations: 0.5545 MB / 0.7057 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5847, allocations: 7.938 kB / 0.7057 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5857, allocations: 411.1 kB / 0.7061 GB, free: 9.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.5874, allocations: 365.8 kB / 0.7065 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009279/0.5967, allocations: 6.319 MB / 0.7127 GB, free: 2.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.5974, allocations: 0.9261 MB / 0.7136 GB, free: 1.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008554/0.5983, allocations: 269.9 kB / 0.7138 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/0.5987, allocations: 275.3 kB / 0.7141 GB, free: 0.707 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.5987, allocations: 0 / 0.7141 GB, free: 0.707 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06469/0.6634, allocations: 25.4 MB / 0.7389 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.74, allocations: 12.02 kB / 0.7389 GB, free: 7.258 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_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_IdealGases_Air.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches