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.001695/0.001695, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.002/0.002, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.453/1.453, allocations: 207.6 MB / 231.8 MB, free: 4.055 MB / 174.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.001717/0.001717, allocations: 51.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09983, allocations: 49.13 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3877/0.4875, allocations: 154.7 MB / 0.5333 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.4915, allocations: 3.048 MB / 0.5363 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.4916, allocations: 4 kB / 0.5363 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.4921, allocations: 111.4 kB / 0.5364 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.495, allocations: 1.19 MB / 0.5376 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4961, allocations: 390.8 kB / 0.538 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006741/0.4967, allocations: 450.9 kB / 0.5384 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.751e-05/0.4968, allocations: 9.547 kB / 0.5384 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.4972, allocations: 229.4 kB / 0.5386 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.4975, allocations: 151.5 kB / 0.5388 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.4975, allocations: 16 kB / 0.5388 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004198/0.5017, allocations: 2.169 MB / 0.5409 GB, free: 192 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.5019, allocations: 143.6 kB / 0.541 GB, free: 48 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.5021, allocations: 163.5 kB / 0.5412 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002724/0.5049, allocations: 1.539 MB / 0.5427 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5049, allocations: 4 kB / 0.5427 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5049, allocations: 0 / 0.5427 GB, free: 14.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.5049, allocations: 0 / 0.5427 GB, free: 14.34 MB / 430.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.002371/0.5072, allocations: 0.7789 MB / 0.5434 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5073, allocations: 8.031 kB / 0.5435 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.5074, allocations: 78.64 kB / 0.5435 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007546/0.5082, allocations: 104.7 kB / 0.5436 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.5086, allocations: 287.4 kB / 0.5439 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.5086, allocations: 24.56 kB / 0.5439 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.5087, allocations: 24 kB / 0.544 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.5099, allocations: 0.5887 MB / 0.5445 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.5099, allocations: 3.938 kB / 0.5445 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.51, allocations: 16 kB / 0.5445 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.51, allocations: 20.42 kB / 0.5446 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.5114, allocations: 0.6263 MB / 0.5452 GB, free: 11.68 MB / 430.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.003118/0.5146, allocations: 1.303 MB / 0.5464 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.5156, allocations: 348 kB / 0.5468 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.5161, allocations: 171.7 kB / 0.5469 GB, free: 9.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00267/0.5187, allocations: 1.38 MB / 0.5483 GB, free: 8.195 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.5188, allocations: 38.75 kB / 0.5483 GB, free: 8.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.114e-06/0.5188, allocations: 0 / 0.5483 GB, free: 8.148 MB / 430.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.01655/0.5353, allocations: 3.486 MB / 0.5517 GB, free: 4.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.5354, allocations: 81.11 kB / 0.5518 GB, free: 4.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.5356, allocations: 183.5 kB / 0.552 GB, free: 4.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.424e-05/0.5357, allocations: 37.7 kB / 0.552 GB, free: 4.133 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.5358, allocations: 180.6 kB / 0.5522 GB, free: 3.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.536, allocations: 186.4 kB / 0.5524 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.5362, allocations: 114.3 kB / 0.5525 GB, free: 3.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5364, allocations: 338.8 kB / 0.5528 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000865/0.5372, allocations: 270.3 kB / 0.5531 GB, free: 3.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009492/0.5382, allocations: 433.4 kB / 0.5535 GB, free: 2.555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.5399, allocations: 0.6991 MB / 0.5542 GB, free: 1.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5399, allocations: 4 kB / 0.5542 GB, free: 1.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002184/0.5421, allocations: 0.7805 MB / 0.5549 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5422, allocations: 8 kB / 0.5549 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5422, allocations: 4 kB / 0.5549 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.5424, allocations: 57.69 kB / 0.555 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.5436, allocations: 183.8 kB / 0.5552 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008507/0.5445, allocations: 1.077 MB / 0.5562 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.5453, allocations: 52.14 kB / 0.5563 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.5454, allocations: 35.98 kB / 0.5563 GB, free: 15.52 MB / 446.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.0003149/0.5457, allocations: 181.6 kB / 0.5565 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5458, allocations: 23.86 kB / 0.5565 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.5482, allocations: 0.7746 MB / 0.5573 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.5483, allocations: 12 kB / 0.5573 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5483, allocations: 0 / 0.5573 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.5483, allocations: 3.984 kB / 0.5573 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.5519, allocations: 1.554 MB / 0.5588 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5519, allocations: 7.938 kB / 0.5588 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.5531, allocations: 148 kB / 0.5589 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.5533, allocations: 49.52 kB / 0.559 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/0.5533, allocations: 27.97 kB / 0.559 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.5554, allocations: 2.71 MB / 0.5617 GB, free: 9.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.5554, allocations: 7.969 kB / 0.5617 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.5584, allocations: 1.078 MB / 0.5627 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.5585, allocations: 108.9 kB / 0.5628 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.786e-05/0.5586, allocations: 16.03 kB / 0.5628 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/0.5595, allocations: 43.95 kB / 0.5629 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.5596, allocations: 43.83 kB / 0.5629 GB, free: 8.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/0.5596, allocations: 35.97 kB / 0.563 GB, free: 8.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.5598, allocations: 120.4 kB / 0.5631 GB, free: 8.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5598, allocations: 3.938 kB / 0.5631 GB, free: 8.121 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00155/0.5613, allocations: 395.2 kB / 0.5634 GB, free: 7.734 MB / 446.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.005701/0.567, allocations: 2.374 MB / 0.5658 GB, free: 5.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.5691, allocations: 0.6284 MB / 0.5664 GB, free: 4.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.5692, allocations: 0 / 0.5664 GB, free: 4.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.5704, allocations: 0.5209 MB / 0.5669 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.5712, allocations: 96.89 kB / 0.567 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008956/0.5801, allocations: 4.24 MB / 0.5711 GB, free: 15.53 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004455/0.5806, allocations: 0.7813 MB / 0.5719 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008593/0.5814, allocations: 183.1 kB / 0.5721 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.5819, allocations: 139.3 kB / 0.5722 GB, free: 14.41 MB / 462.1 MB Notification: Performance of SimCode: time 2.023e-06/0.5819, allocations: 0 / 0.5722 GB, free: 14.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0583/0.6402, allocations: 19.7 MB / 0.5914 GB, free: 10.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.06, allocations: 8 kB / 0.5914 GB, free: 10.59 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.79168455999752]