Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001298/0.001298, allocations: 111.7 kB / 19.69 MB, free: 2.207 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.001388/0.001388, allocations: 219.1 kB / 23.01 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 233.8 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2301/0.2301, allocations: 44.25 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 179] 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.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_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 75.83 kB / 467.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1276, allocations: 61.04 MB / 0.5161 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4538/0.5814, allocations: 151.7 MB / 0.6643 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004048/0.5854, allocations: 3.047 MB / 0.6672 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.5856, allocations: 0 / 0.6672 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004725/0.5861, allocations: 71.58 kB / 0.6673 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.5892, allocations: 1.058 MB / 0.6683 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.5897, allocations: 200.3 kB / 0.6685 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004992/0.5902, allocations: 358.7 kB / 0.6689 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/0.5903, allocations: 5.312 kB / 0.6689 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.5906, allocations: 159.4 kB / 0.669 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.5908, allocations: 111.6 kB / 0.6691 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.5908, allocations: 12 kB / 0.6691 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.594, allocations: 1.57 MB / 0.6707 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.5941, allocations: 79.83 kB / 0.6708 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.5942, allocations: 111.5 kB / 0.6709 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.5958, allocations: 0.9879 MB / 0.6718 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5958, allocations: 3.938 kB / 0.6718 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5958, allocations: 0 / 0.6718 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.5958, allocations: 4 kB / 0.6718 GB, free: 4.488 MB / 0.4981 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.0008734/0.5967, allocations: 473.3 kB / 0.6723 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.5967, allocations: 8.031 kB / 0.6723 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.5968, allocations: 58.73 kB / 0.6723 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.5981, allocations: 208.5 kB / 0.6725 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.5985, allocations: 186.2 kB / 0.6727 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5985, allocations: 21.94 kB / 0.6727 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.5985, allocations: 19.94 kB / 0.6728 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.5992, allocations: 385.5 kB / 0.6731 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5992, allocations: 0 / 0.6731 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.5992, allocations: 8 kB / 0.6731 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.5992, allocations: 4 kB / 0.6731 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.5998, allocations: 419.6 kB / 0.6735 GB, free: 2.664 MB / 0.4981 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.001688/0.6015, allocations: 0.7727 MB / 0.6743 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.6019, allocations: 229 kB / 0.6745 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.6021, allocations: 119.1 kB / 0.6746 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/0.6036, allocations: 310 kB / 0.6749 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6036, allocations: 34.56 kB / 0.675 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.6036, allocations: 4 kB / 0.675 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.001184/0.6048, allocations: 353.7 kB / 0.6753 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.6048, allocations: 81.11 kB / 0.6754 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.6049, allocations: 121.8 kB / 0.6755 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.605, allocations: 29.7 kB / 0.6755 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.605, allocations: 112.5 kB / 0.6756 GB, free: 412 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.53e-05/0.6051, allocations: 122.9 kB / 0.6757 GB, free: 288 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.6052, allocations: 58.03 kB / 0.6758 GB, free: 224 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6054, allocations: 322.8 kB / 0.6761 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.6056, allocations: 100.6 kB / 0.6762 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.6058, allocations: 184.6 kB / 0.6764 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.6063, allocations: 307.2 kB / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6063, allocations: 0 / 0.6767 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006215/0.6069, allocations: 338.3 kB / 0.677 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6069, allocations: 8 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.607, allocations: 4 kB / 0.677 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.607, allocations: 4.312 kB / 0.677 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.6073, allocations: 75.89 kB / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.6073, allocations: 8 kB / 0.6771 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.6075, allocations: 28.59 kB / 0.6771 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.6076, allocations: 21.23 kB / 0.6771 GB, free: 14.77 MB / 0.5137 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.0001603/0.6077, allocations: 141.7 kB / 0.6773 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.383e-05/0.6078, allocations: 11.95 kB / 0.6773 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006686/0.6085, allocations: 343.6 kB / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.6085, allocations: 0 / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6085, allocations: 4 kB / 0.6776 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.6085, allocations: 7.984 kB / 0.6776 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.6091, allocations: 294.2 kB / 0.6779 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6091, allocations: 8.797 kB / 0.6779 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/0.6094, allocations: 55.91 kB / 0.678 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.6094, allocations: 4 kB / 0.678 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.6095, allocations: 8 kB / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6095, allocations: 0 / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6095, allocations: 0.625 kB / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007679/0.6102, allocations: 0.5194 MB / 0.6785 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.6103, allocations: 19.84 kB / 0.6785 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.6103, allocations: 4.062 kB / 0.6785 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.6106, allocations: 18.11 kB / 0.6785 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.6106, allocations: 19.95 kB / 0.6785 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.6107, allocations: 12 kB / 0.6786 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.418e-05/0.6107, allocations: 95.2 kB / 0.6786 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6107, allocations: 4 kB / 0.6787 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007836/0.6115, allocations: 227.5 kB / 0.6789 GB, free: 12.93 MB / 0.5137 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.001955/0.6135, allocations: 1.363 MB / 0.6802 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005103/0.614, allocations: 247.7 kB / 0.6804 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.614, allocations: 0 / 0.6804 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.6142, allocations: 120.5 kB / 0.6806 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.6149, allocations: 82.38 kB / 0.6806 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.6187, allocations: 2.693 MB / 0.6833 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.619, allocations: 0.7285 MB / 0.684 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003083/0.6193, allocations: 74.73 kB / 0.684 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.6195, allocations: 67.41 kB / 0.6841 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.6195, allocations: 0 / 0.6841 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0435/0.663, allocations: 10.86 MB / 0.6947 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.61, allocations: 8.047 kB / 0.6947 GB, free: 12.5 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.672054232003575]