Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 216.6 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.627/1.627, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 63.91 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 65.48 MB / 0.557 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1776/0.538, allocations: 131.8 MB / 0.6857 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004144/0.5421, allocations: 2.827 MB / 0.6884 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.5422, allocations: 0 / 0.6884 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.5426, allocations: 55.66 kB / 0.6885 GB, free: 356 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.5457, allocations: 1.056 MB / 0.6895 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.5463, allocations: 198.9 kB / 0.6897 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000466/0.5468, allocations: 362.5 kB / 0.69 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.5468, allocations: 9.297 kB / 0.69 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.5471, allocations: 167.4 kB / 0.6902 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.5473, allocations: 107.6 kB / 0.6903 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.5474, allocations: 12 kB / 0.6903 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.55, allocations: 1.309 MB / 0.6916 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.5501, allocations: 79.77 kB / 0.6917 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.5502, allocations: 87.72 kB / 0.6918 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.5518, allocations: 0.9663 MB / 0.6927 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5518, allocations: 0 / 0.6927 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5518, allocations: 0 / 0.6927 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.5518, allocations: 0 / 0.6927 GB, free: 12.01 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009396/0.5527, allocations: 493.1 kB / 0.6932 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5528, allocations: 8.031 kB / 0.6932 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.058e-05/0.5529, allocations: 58.72 kB / 0.6932 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.5542, allocations: 216.5 kB / 0.6934 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.5546, allocations: 189.8 kB / 0.6936 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.5546, allocations: 16.38 kB / 0.6936 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.5547, allocations: 16 kB / 0.6937 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.5554, allocations: 0.5658 MB / 0.6942 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5554, allocations: 0 / 0.6942 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.5554, allocations: 8 kB / 0.6942 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5555, allocations: 12 kB / 0.6942 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005791/0.556, allocations: 399.7 kB / 0.6946 GB, free: 9.934 MB / 0.5294 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.001709/0.5577, allocations: 0.753 MB / 0.6953 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.5581, allocations: 213.1 kB / 0.6955 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.5583, allocations: 114 kB / 0.6957 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/0.5598, allocations: 313.6 kB / 0.696 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5598, allocations: 38.81 kB / 0.696 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.593e-06/0.5598, allocations: 0 / 0.696 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001179/0.561, allocations: 367.5 kB / 0.6963 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.561, allocations: 85.05 kB / 0.6964 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.5611, allocations: 113.8 kB / 0.6965 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.5612, allocations: 29.7 kB / 0.6966 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.5612, allocations: 116.5 kB / 0.6967 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/0.5613, allocations: 111 kB / 0.6968 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.5614, allocations: 62.02 kB / 0.6968 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5616, allocations: 330.8 kB / 0.6971 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.5617, allocations: 96.59 kB / 0.6972 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.562, allocations: 183.5 kB / 0.6974 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.5625, allocations: 298.1 kB / 0.6977 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5625, allocations: 0 / 0.6977 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006153/0.5631, allocations: 349.2 kB / 0.698 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5631, allocations: 4 kB / 0.698 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5631, allocations: 4 kB / 0.698 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.5631, allocations: 4 kB / 0.698 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.5635, allocations: 71.89 kB / 0.6981 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.5635, allocations: 4 kB / 0.6981 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.5637, allocations: 23.84 kB / 0.6981 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.5637, allocations: 16 kB / 0.6982 GB, free: 6.082 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.5639, allocations: 157.8 kB / 0.6983 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.084e-05/0.564, allocations: 11.95 kB / 0.6983 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006682/0.5646, allocations: 333.3 kB / 0.6986 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.5646, allocations: 4 kB / 0.6986 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5646, allocations: 0 / 0.6986 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5647, allocations: 3.984 kB / 0.6986 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005634/0.5652, allocations: 286 kB / 0.6989 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5652, allocations: 0 / 0.6989 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.5655, allocations: 51.97 kB / 0.699 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5655, allocations: 4 kB / 0.699 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.5656, allocations: 11.98 kB / 0.699 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.5656, allocations: 0 / 0.699 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5656, allocations: 4 kB / 0.699 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.5663, allocations: 0.5101 MB / 0.6995 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.5664, allocations: 15.84 kB / 0.6995 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.5664, allocations: 8.062 kB / 0.6995 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003063/0.5667, allocations: 16.11 kB / 0.6995 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.5668, allocations: 23.95 kB / 0.6995 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.5668, allocations: 19.92 kB / 0.6996 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.5669, allocations: 91.27 kB / 0.6997 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5669, allocations: 0 / 0.6997 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008021/0.5677, allocations: 231.4 kB / 0.6999 GB, free: 4.254 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001987/0.5696, allocations: 1.383 MB / 0.7012 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.5702, allocations: 240.1 kB / 0.7015 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.5702, allocations: 4 kB / 0.7015 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.5704, allocations: 127.8 kB / 0.7016 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.571, allocations: 82.52 kB / 0.7017 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.5746, allocations: 2.685 MB / 0.7043 GB, free: 15.56 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.5748, allocations: 123.7 kB / 0.7044 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003047/0.5751, allocations: 73.83 kB / 0.7045 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5752, allocations: 63.41 kB / 0.7045 GB, free: 15.29 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.5752, allocations: 0 / 0.7045 GB, free: 15.29 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.6186, allocations: 11.48 MB / 0.7157 GB, free: 4.008 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.99, allocations: 14.16 kB / 0.7158 GB, free: 4 MB / 0.545 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.269323089160025]