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.001482/0.001482, allocations: 123 kB / 17.79 MB, free: 5.246 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.00173/0.00173, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.491/1.491, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2396/0.2396, allocations: 44.91 MB / 355.1 MB, free: 12.31 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.001917/0.001917, allocations: 68.17 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1339, allocations: 65.42 MB / 0.5517 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5446/0.6785, allocations: 153.2 MB / 0.7014 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004617/0.6831, allocations: 3.144 MB / 0.7044 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.6833, allocations: 3.938 kB / 0.7044 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.6837, allocations: 63.64 kB / 0.7045 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.6869, allocations: 1.03 MB / 0.7055 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.6876, allocations: 203.1 kB / 0.7057 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.6881, allocations: 350.7 kB / 0.706 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.6882, allocations: 5.656 kB / 0.7061 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.6886, allocations: 163.4 kB / 0.7062 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.6888, allocations: 119.6 kB / 0.7063 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.882e-05/0.6889, allocations: 12 kB / 0.7063 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/0.6923, allocations: 1.559 MB / 0.7079 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.6924, allocations: 83.7 kB / 0.7079 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.6926, allocations: 99.64 kB / 0.708 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.6947, allocations: 1.004 MB / 0.709 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6947, allocations: 2.531 kB / 0.709 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6947, allocations: 0 / 0.709 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.68e-05/0.6948, allocations: 0 / 0.709 GB, free: 6.25 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001358/0.6961, allocations: 0.5607 MB / 0.7096 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.6962, allocations: 8.031 kB / 0.7096 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.6962, allocations: 58.72 kB / 0.7096 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.6978, allocations: 200.6 kB / 0.7098 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.6982, allocations: 248.1 kB / 0.7101 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.6983, allocations: 24.31 kB / 0.7101 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.6984, allocations: 23.92 kB / 0.7101 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.6991, allocations: 369.5 kB / 0.7104 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6991, allocations: 0 / 0.7104 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.512e-05/0.6991, allocations: 12 kB / 0.7105 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.6991, allocations: 4 kB / 0.7105 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.6998, allocations: 397.9 kB / 0.7108 GB, free: 4.27 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.001997/0.7018, allocations: 0.8125 MB / 0.7116 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.7022, allocations: 221 kB / 0.7118 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.7024, allocations: 117.7 kB / 0.712 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002014/0.7045, allocations: 0.9725 MB / 0.7129 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.7045, allocations: 42.55 kB / 0.713 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=29): time 2.165e-06/0.7045, allocations: 0 / 0.713 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29): time 0.001338/0.7058, allocations: 363.6 kB / 0.7133 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.7059, allocations: 85.11 kB / 0.7134 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.706, allocations: 109.8 kB / 0.7135 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.7061, allocations: 33.64 kB / 0.7135 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/0.7062, allocations: 116.5 kB / 0.7136 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.7063, allocations: 115 kB / 0.7137 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.7064, allocations: 62.02 kB / 0.7138 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002084/0.7066, allocations: 326.8 kB / 0.7141 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/0.7068, allocations: 96.61 kB / 0.7142 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.7071, allocations: 179.5 kB / 0.7144 GB, free: 316 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000516/0.7076, allocations: 308.3 kB / 0.7147 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7076, allocations: 0 / 0.7147 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006697/0.7083, allocations: 337.4 kB / 0.715 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.7083, allocations: 8 kB / 0.715 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.7083, allocations: 4.875 kB / 0.715 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.7084, allocations: 4 kB / 0.715 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.7087, allocations: 79.83 kB / 0.7151 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.7087, allocations: 4 kB / 0.7151 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.709, allocations: 27.81 kB / 0.7151 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.709, allocations: 16 kB / 0.7151 GB, free: 15.5 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.0001875/0.7092, allocations: 146.5 kB / 0.7153 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.7093, allocations: 19.91 kB / 0.7153 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007034/0.71, allocations: 330.9 kB / 0.7156 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.71, allocations: 0 / 0.7156 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.71, allocations: 11.81 kB / 0.7156 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7101, allocations: 0 / 0.7156 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006407/0.7107, allocations: 338.8 kB / 0.7159 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7107, allocations: 0 / 0.7159 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.711, allocations: 59.91 kB / 0.716 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.711, allocations: 0 / 0.716 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.196e-05/0.7111, allocations: 11.98 kB / 0.716 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.7111, allocations: 8 kB / 0.716 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7111, allocations: 0 / 0.716 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009194/0.712, allocations: 0.511 MB / 0.7165 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.7121, allocations: 89 kB / 0.7166 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.7121, allocations: 8.062 kB / 0.7166 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.7125, allocations: 11.98 kB / 0.7166 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.7125, allocations: 23.98 kB / 0.7166 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.7125, allocations: 15.98 kB / 0.7166 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.7126, allocations: 87.27 kB / 0.7167 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7126, allocations: 0 / 0.7167 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009092/0.7135, allocations: 239.3 kB / 0.717 GB, free: 13.52 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.002524/0.716, allocations: 1.382 MB / 0.7183 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005932/0.7166, allocations: 252.2 kB / 0.7186 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.7166, allocations: 4 kB / 0.7186 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.7169, allocations: 119.8 kB / 0.7187 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.7176, allocations: 87.47 kB / 0.7188 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004271/0.7218, allocations: 2.668 MB / 0.7214 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.7223, allocations: 0.7364 MB / 0.7221 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003372/0.7226, allocations: 73.77 kB / 0.7221 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.7228, allocations: 59.42 kB / 0.7222 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of SimCode: time 7.92e-07/0.7228, allocations: 0 / 0.7222 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/0.7659, allocations: 10.6 MB / 0.7326 GB, free: 13.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/9.045, allocations: 4 kB / 0.7326 GB, free: 13.48 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.339180578943342]