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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001078/0.001078, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.215/0.215, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 65.25 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1174, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3789/0.4963, allocations: 149.9 MB / 0.6047 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.5001, allocations: 3.142 MB / 0.6078 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.5002, allocations: 0 / 0.6078 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.5006, allocations: 59.64 kB / 0.6079 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.5029, allocations: 1.033 MB / 0.6089 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.5034, allocations: 195.9 kB / 0.6091 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.5038, allocations: 346.7 kB / 0.6094 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.824e-05/0.5038, allocations: 25 kB / 0.6094 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.5041, allocations: 143.5 kB / 0.6095 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.5043, allocations: 107.6 kB / 0.6096 GB, free: 5.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.5043, allocations: 12 kB / 0.6097 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.507, allocations: 1.52 MB / 0.6111 GB, free: 4.266 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.5072, allocations: 75.78 kB / 0.6112 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.5073, allocations: 111.6 kB / 0.6113 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.5088, allocations: 0.9939 MB / 0.6123 GB, free: 3.086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5088, allocations: 0 / 0.6123 GB, free: 3.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5088, allocations: 0 / 0.6123 GB, free: 3.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.5088, allocations: 0 / 0.6123 GB, free: 3.086 MB / 446.1 MB 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.0008771/0.5097, allocations: 0.5498 MB / 0.6128 GB, free: 2.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5098, allocations: 8.031 kB / 0.6128 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.991e-05/0.5098, allocations: 54.73 kB / 0.6129 GB, free: 2.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/0.5137, allocations: 388.2 kB / 0.6133 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.5141, allocations: 264 kB / 0.6135 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.5141, allocations: 16.31 kB / 0.6135 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.928e-05/0.5142, allocations: 20 kB / 0.6135 GB, free: 1.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009201/0.5151, allocations: 489.3 kB / 0.614 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5151, allocations: 0 / 0.614 GB, free: 1.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.5152, allocations: 12 kB / 0.614 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.5152, allocations: 4 kB / 0.614 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5162, allocations: 0.4996 MB / 0.6145 GB, free: 0.707 MB / 446.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.00227/0.5185, allocations: 0.9968 MB / 0.6155 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.5191, allocations: 289.1 kB / 0.6158 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.5193, allocations: 157.2 kB / 0.6159 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/0.5211, allocations: 0.984 MB / 0.6169 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.5212, allocations: 34.56 kB / 0.6169 GB, free: 14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 3.156e-06/0.5212, allocations: 0 / 0.6169 GB, free: 14 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.000969/0.5222, allocations: 398.6 kB / 0.6173 GB, free: 13.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.5222, allocations: 85.11 kB / 0.6174 GB, free: 13.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.5223, allocations: 117.8 kB / 0.6175 GB, free: 13.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.5224, allocations: 33.64 kB / 0.6175 GB, free: 13.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.5224, allocations: 120.4 kB / 0.6176 GB, free: 13.22 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/0.5225, allocations: 102.5 kB / 0.6177 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.5226, allocations: 62.02 kB / 0.6178 GB, free: 13.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5228, allocations: 322.8 kB / 0.6181 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.523, allocations: 112.6 kB / 0.6182 GB, free: 12.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.5233, allocations: 207.5 kB / 0.6184 GB, free: 12.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.5238, allocations: 344.5 kB / 0.6187 GB, free: 12.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5238, allocations: 4 kB / 0.6187 GB, free: 12.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007017/0.5245, allocations: 373.1 kB / 0.6191 GB, free: 11.64 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5246, allocations: 8 kB / 0.6191 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5246, allocations: 4.312 kB / 0.6191 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5246, allocations: 4 kB / 0.6191 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.525, allocations: 79.83 kB / 0.6192 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.525, allocations: 8 kB / 0.6192 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.5253, allocations: 27.77 kB / 0.6192 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.742e-05/0.5254, allocations: 16.55 kB / 0.6192 GB, free: 11.49 MB / 462.1 MB 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.0001347/0.5255, allocations: 141.7 kB / 0.6194 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5256, allocations: 15.81 kB / 0.6194 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007862/0.5264, allocations: 376.9 kB / 0.6197 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.5265, allocations: 4 kB / 0.6197 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5265, allocations: 0 / 0.6197 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.5265, allocations: 0 / 0.6197 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005573/0.527, allocations: 360.7 kB / 0.6201 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5271, allocations: 0 / 0.6201 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.5275, allocations: 59.91 kB / 0.6201 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5275, allocations: 0 / 0.6201 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.5275, allocations: 15.98 kB / 0.6202 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5275, allocations: 4 kB / 0.6202 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5275, allocations: 0 / 0.6202 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.5284, allocations: 0.5558 MB / 0.6207 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.5285, allocations: 97.72 kB / 0.6208 GB, free: 9.785 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.5286, allocations: 12.06 kB / 0.6208 GB, free: 9.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.529, allocations: 15.98 kB / 0.6208 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.529, allocations: 15.97 kB / 0.6208 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.5291, allocations: 19.98 kB / 0.6209 GB, free: 9.723 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.759e-05/0.5291, allocations: 95.25 kB / 0.6209 GB, free: 9.629 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5291, allocations: 0 / 0.6209 GB, free: 9.629 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007938/0.5299, allocations: 235.7 kB / 0.6212 GB, free: 9.398 MB / 462.1 MB 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.002201/0.5321, allocations: 1.42 MB / 0.6226 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006471/0.5328, allocations: 316 kB / 0.6229 GB, free: 7.645 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5328, allocations: 4 kB / 0.6229 GB, free: 7.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.5331, allocations: 139.9 kB / 0.623 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006417/0.5337, allocations: 87.12 kB / 0.6231 GB, free: 7.426 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003436/0.5372, allocations: 2.749 MB / 0.6258 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.5375, allocations: 0.7321 MB / 0.6265 GB, free: 3.773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000469/0.538, allocations: 82.02 kB / 0.6266 GB, free: 3.691 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.5381, allocations: 63.41 kB / 0.6266 GB, free: 3.629 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5382, allocations: 0 / 0.6266 GB, free: 3.629 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.5679, allocations: 10.53 MB / 0.6369 GB, free: 9.195 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.856/8.424, allocations: 5.688 kB / 0.6369 GB, free: 9.191 MB / 478.1 MB (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.0004 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) 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) Reference file matches