Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.001372/0.001372, allocations: 107.6 kB / 21.18 MB, free: 452 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.001472/0.001472, allocations: 215 kB / 24.47 MB, free: 3.777 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.426/1.426, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MixtureGases",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.001843/0.001843, allocations: 51.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2408, allocations: 49.15 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1614/0.4022, allocations: 132.8 MB / 0.5167 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.4059, allocations: 2.742 MB / 0.5194 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.406, allocations: 3.938 kB / 0.5194 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004263/0.4065, allocations: 99.48 kB / 0.5195 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.4093, allocations: 1.21 MB / 0.5207 GB, free: 9.801 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4104, allocations: 390.7 kB / 0.5211 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006273/0.411, allocations: 478.7 kB / 0.5215 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.305e-05/0.4111, allocations: 5.75 kB / 0.5215 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004161/0.4115, allocations: 229 kB / 0.5218 GB, free: 8.723 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.4117, allocations: 147.5 kB / 0.5219 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.4118, allocations: 16 kB / 0.5219 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003642/0.4154, allocations: 1.826 MB / 0.5237 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.4156, allocations: 143.6 kB / 0.5238 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.4158, allocations: 147.5 kB / 0.524 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.4179, allocations: 1.465 MB / 0.5254 GB, free: 4.977 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.4179, allocations: 0 / 0.5254 GB, free: 4.977 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4179, allocations: 0 / 0.5254 GB, free: 4.977 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.4179, allocations: 0 / 0.5254 GB, free: 4.977 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002011/0.4199, allocations: 0.7036 MB / 0.5261 GB, free: 4.238 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.42, allocations: 15.98 kB / 0.5261 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.398e-05/0.4201, allocations: 70.72 kB / 0.5262 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006848/0.4207, allocations: 108.7 kB / 0.5263 GB, free: 4.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004611/0.4212, allocations: 225.5 kB / 0.5265 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.4212, allocations: 16.66 kB / 0.5265 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4213, allocations: 28 kB / 0.5265 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.4227, allocations: 0.9021 MB / 0.5274 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.4227, allocations: 4 kB / 0.5274 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.4227, allocations: 12 kB / 0.5274 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.4228, allocations: 24.42 kB / 0.5275 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.4241, allocations: 0.638 MB / 0.5281 GB, free: 2.086 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.003033/0.4271, allocations: 1.197 MB / 0.5292 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009792/0.4281, allocations: 340.9 kB / 0.5296 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004604/0.4285, allocations: 177.5 kB / 0.5297 GB, free: 316 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/0.4307, allocations: 495.5 kB / 0.5302 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.4307, allocations: 46.67 kB / 0.5303 GB, free: 15.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.716e-06/0.4307, allocations: 3.938 kB / 0.5303 GB, free: 15.77 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01483/0.4455, allocations: 3.173 MB / 0.5334 GB, free: 12.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4456, allocations: 81.11 kB / 0.5334 GB, free: 12.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4458, allocations: 191.3 kB / 0.5336 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.4459, allocations: 37.7 kB / 0.5337 GB, free: 12.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.446, allocations: 172.6 kB / 0.5338 GB, free: 11.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.4461, allocations: 190.3 kB / 0.534 GB, free: 11.76 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.4463, allocations: 114.3 kB / 0.5341 GB, free: 11.64 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4465, allocations: 334.8 kB / 0.5344 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.4472, allocations: 265.1 kB / 0.5347 GB, free: 11.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.4481, allocations: 429.5 kB / 0.5351 GB, free: 10.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.4499, allocations: 0.703 MB / 0.5358 GB, free: 9.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.4499, allocations: 0 / 0.5358 GB, free: 9.789 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002042/0.4519, allocations: 0.7917 MB / 0.5366 GB, free: 8.984 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4519, allocations: 8.156 kB / 0.5366 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4519, allocations: 4 kB / 0.5366 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.4521, allocations: 53.69 kB / 0.5366 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4533, allocations: 184 kB / 0.5368 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008057/0.4541, allocations: 1.077 MB / 0.5378 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.4549, allocations: 35.97 kB / 0.5379 GB, free: 7.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.455, allocations: 48.08 kB / 0.5379 GB, free: 7.523 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003129/0.4553, allocations: 185.5 kB / 0.5381 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.4554, allocations: 31.81 kB / 0.5381 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/0.4577, allocations: 0.7865 MB / 0.5389 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4577, allocations: 4 kB / 0.5389 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4577, allocations: 4 kB / 0.5389 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4577, allocations: 0 / 0.5389 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.4612, allocations: 1.456 MB / 0.5403 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.4612, allocations: 4 kB / 0.5403 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.4623, allocations: 155.9 kB / 0.5405 GB, free: 4.789 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001418/0.4624, allocations: 37.64 kB / 0.5405 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.76e-05/0.4625, allocations: 27.97 kB / 0.5405 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.4644, allocations: 2.519 MB / 0.543 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4644, allocations: 4 kB / 0.543 GB, free: 1.969 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.4672, allocations: 1.073 MB / 0.5441 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.4672, allocations: 19.86 kB / 0.5441 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.4673, allocations: 20.03 kB / 0.5441 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/0.4682, allocations: 39.95 kB / 0.5441 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.084e-05/0.4682, allocations: 51.75 kB / 0.5442 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.4683, allocations: 31.97 kB / 0.5442 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.4684, allocations: 128.4 kB / 0.5443 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4684, allocations: 0 / 0.5443 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001323/0.4697, allocations: 391.2 kB / 0.5447 GB, free: 188 kB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005485/0.4752, allocations: 2.374 MB / 0.547 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001957/0.4772, allocations: 0.6326 MB / 0.5476 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4772, allocations: 0 / 0.5476 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.4783, allocations: 0.5248 MB / 0.5482 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.4791, allocations: 104.9 kB / 0.5483 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008183/0.4873, allocations: 4.242 MB / 0.5524 GB, free: 7.957 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.4875, allocations: 176 kB / 0.5526 GB, free: 7.762 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008604/0.4884, allocations: 195 kB / 0.5527 GB, free: 7.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.4888, allocations: 127.4 kB / 0.5529 GB, free: 7.449 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4888, allocations: 0 / 0.5529 GB, free: 7.449 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/0.7061, allocations: 20.74 MB / 0.5731 GB, free: 157.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.55, allocations: 1.312 kB / 0.5731 GB, free: 157.3 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_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_MixtureGases.fmu > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.155974491033703]