Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001318/0.001318, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001537/0.001537, allocations: 213.4 kB / 24.47 MB, free: 3.793 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.416/1.416, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.001854/0.001854, allocations: 59.92 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2588, allocations: 49.16 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1694/0.4282, allocations: 130 MB / 0.514 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.432, allocations: 2.73 MB / 0.5167 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.4321, allocations: 0 / 0.5167 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.4324, allocations: 59.66 kB / 0.5168 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.4349, allocations: 1.023 MB / 0.5178 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.4355, allocations: 207.4 kB / 0.518 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.4359, allocations: 370.6 kB / 0.5183 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.702e-05/0.436, allocations: 9.266 kB / 0.5183 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.4362, allocations: 151.6 kB / 0.5185 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.4364, allocations: 107.6 kB / 0.5186 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.4364, allocations: 15.94 kB / 0.5186 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.4388, allocations: 1.284 MB / 0.5198 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.4389, allocations: 79.7 kB / 0.5199 GB, free: 10.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.439, allocations: 91.7 kB / 0.52 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.4403, allocations: 0.9585 MB / 0.5209 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.4403, allocations: 0 / 0.5209 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4403, allocations: 0 / 0.5209 GB, free: 9.547 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.4403, allocations: 0 / 0.5209 GB, free: 9.547 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.0008366/0.4412, allocations: 489.1 kB / 0.5214 GB, free: 9.039 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.4412, allocations: 11.98 kB / 0.5214 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.596e-05/0.4413, allocations: 54.73 kB / 0.5215 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.4426, allocations: 200.6 kB / 0.5217 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.4429, allocations: 190.3 kB / 0.5218 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.443, allocations: 12.5 kB / 0.5219 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.443, allocations: 31.94 kB / 0.5219 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.4437, allocations: 0.5657 MB / 0.5224 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4438, allocations: 0 / 0.5224 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.4438, allocations: 12 kB / 0.5225 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.4438, allocations: 8 kB / 0.5225 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005852/0.4444, allocations: 403.8 kB / 0.5228 GB, free: 7.477 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.001688/0.4461, allocations: 0.7494 MB / 0.5236 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.4465, allocations: 225 kB / 0.5238 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.4467, allocations: 113.7 kB / 0.5239 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/0.4481, allocations: 305.9 kB / 0.5242 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.4482, allocations: 42.5 kB / 0.5242 GB, free: 5.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.4482, allocations: 0 / 0.5242 GB, free: 5.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001171/0.4493, allocations: 358 kB / 0.5246 GB, free: 5.617 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4494, allocations: 81.11 kB / 0.5247 GB, free: 5.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.4495, allocations: 121.8 kB / 0.5248 GB, free: 5.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.4495, allocations: 33.7 kB / 0.5248 GB, free: 5.352 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.4496, allocations: 116.5 kB / 0.5249 GB, free: 5.234 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.4497, allocations: 119 kB / 0.525 GB, free: 5.117 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4498, allocations: 62.02 kB / 0.5251 GB, free: 5.051 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.45, allocations: 322.8 kB / 0.5254 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.4501, allocations: 96.61 kB / 0.5255 GB, free: 4.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.4504, allocations: 183.5 kB / 0.5257 GB, free: 4.418 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.4509, allocations: 302.2 kB / 0.5259 GB, free: 4.086 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.4509, allocations: 3.938 kB / 0.5259 GB, free: 4.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006287/0.4515, allocations: 349.9 kB / 0.5263 GB, free: 3.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4515, allocations: 8 kB / 0.5263 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.4515, allocations: 4 kB / 0.5263 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.4516, allocations: 4 kB / 0.5263 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.4519, allocations: 67.91 kB / 0.5264 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.4519, allocations: 15.92 kB / 0.5264 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.4521, allocations: 19.89 kB / 0.5264 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.4522, allocations: 16 kB / 0.5264 GB, free: 3.602 MB / 446.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.000147/0.4523, allocations: 145.6 kB / 0.5266 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.4524, allocations: 20 kB / 0.5266 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.4531, allocations: 322.1 kB / 0.5269 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4531, allocations: 8 kB / 0.5269 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4531, allocations: 0 / 0.5269 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4531, allocations: 0 / 0.5269 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.4537, allocations: 286.2 kB / 0.5272 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4537, allocations: 0 / 0.5272 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.454, allocations: 55.91 kB / 0.5272 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.454, allocations: 4 kB / 0.5272 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.454, allocations: 15.92 kB / 0.5272 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.454, allocations: 0 / 0.5272 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.454, allocations: 0 / 0.5272 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007742/0.4548, allocations: 0.5063 MB / 0.5277 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.4548, allocations: 19.88 kB / 0.5277 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.4549, allocations: 8.062 kB / 0.5278 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003068/0.4552, allocations: 15.92 kB / 0.5278 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.4552, allocations: 19.97 kB / 0.5278 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/0.4553, allocations: 24.11 kB / 0.5278 GB, free: 2.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.223e-05/0.4553, allocations: 87.27 kB / 0.5279 GB, free: 2.008 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4553, allocations: 0 / 0.5279 GB, free: 2.008 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007819/0.4561, allocations: 227.4 kB / 0.5281 GB, free: 1.785 MB / 446.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.001975/0.4581, allocations: 1.371 MB / 0.5294 GB, free: 396 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.4586, allocations: 244.3 kB / 0.5297 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4586, allocations: 4 kB / 0.5297 GB, free: 148 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4588, allocations: 132.3 kB / 0.5298 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006669/0.4595, allocations: 80.64 kB / 0.5299 GB, free: 15.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.4628, allocations: 2.671 MB / 0.5325 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.463, allocations: 131.6 kB / 0.5326 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003168/0.4633, allocations: 74.02 kB / 0.5327 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.4634, allocations: 59.36 kB / 0.5327 GB, free: 12.84 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4634, allocations: 4 kB / 0.5328 GB, free: 12.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04028/0.5037, allocations: 11.55 MB / 0.544 GB, free: 1.223 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.26, allocations: 3.906 kB / 0.544 GB, free: 1.219 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.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 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable medium2.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.774389469996095]