Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MixtureGases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001938/0.001938, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00243/0.00243, allocations: 210.8 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.89 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2428, allocations: 53.41 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.395/0.6378, allocations: 134.2 MB / 0.552 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004044/0.6418, allocations: 3.61 MB / 0.5556 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.642, allocations: 5.469 kB / 0.5556 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.6424, allocations: 92.09 kB / 0.5557 GB, free: 15.84 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.6457, allocations: 1.216 MB / 0.5568 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.6468, allocations: 397.8 kB / 0.5572 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000575/0.6474, allocations: 466.9 kB / 0.5577 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.6474, allocations: 10.64 kB / 0.5577 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004568/0.6479, allocations: 254.6 kB / 0.5579 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.6481, allocations: 144.8 kB / 0.5581 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.6482, allocations: 17.88 kB / 0.5581 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.6518, allocations: 1.837 MB / 0.5599 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.652, allocations: 135.2 kB / 0.56 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.6522, allocations: 150 kB / 0.5601 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002582/0.6548, allocations: 1.472 MB / 0.5616 GB, free: 15.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6548, allocations: 3.312 kB / 0.5616 GB, free: 15.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6548, allocations: 0 / 0.5616 GB, free: 15.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.6548, allocations: 0 / 0.5616 GB, free: 15.66 MB / 462.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.002262/0.6571, allocations: 0.7095 MB / 0.5623 GB, free: 15.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.6571, allocations: 14.7 kB / 0.5623 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.6572, allocations: 71.72 kB / 0.5624 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007034/0.6579, allocations: 106.4 kB / 0.5625 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.6584, allocations: 219 kB / 0.5627 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.6584, allocations: 22.34 kB / 0.5627 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.6585, allocations: 25.17 kB / 0.5627 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.6597, allocations: 0.9048 MB / 0.5636 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6597, allocations: 3.375 kB / 0.5636 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.6598, allocations: 9.938 kB / 0.5636 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.6598, allocations: 21.8 kB / 0.5636 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.661, allocations: 0.6482 MB / 0.5643 GB, free: 14.62 MB / 462.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.002991/0.664, allocations: 1.182 MB / 0.5654 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008938/0.6649, allocations: 349.2 kB / 0.5657 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.6653, allocations: 175.4 kB / 0.5659 GB, free: 14.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001998/0.6673, allocations: 471.1 kB / 0.5664 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.6673, allocations: 44.73 kB / 0.5664 GB, free: 14.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.695e-06/0.6673, allocations: 3.5 kB / 0.5664 GB, free: 14.09 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.01458/0.6819, allocations: 3.189 MB / 0.5695 GB, free: 13.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.682, allocations: 88.7 kB / 0.5696 GB, free: 13.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.6822, allocations: 188.9 kB / 0.5698 GB, free: 13.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.623e-05/0.6822, allocations: 36.39 kB / 0.5698 GB, free: 13.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.6824, allocations: 188 kB / 0.57 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.6826, allocations: 179.2 kB / 0.5702 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.6827, allocations: 119.4 kB / 0.5703 GB, free: 12.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6829, allocations: 335.9 kB / 0.5706 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.6836, allocations: 266.5 kB / 0.5709 GB, free: 12.46 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.6845, allocations: 425.4 kB / 0.5713 GB, free: 12.28 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.686, allocations: 0.6952 MB / 0.5719 GB, free: 12.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.686, allocations: 0 / 0.5719 GB, free: 12.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001853/0.6879, allocations: 0.7919 MB / 0.5727 GB, free: 12.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6879, allocations: 9.797 kB / 0.5727 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6879, allocations: 2.906 kB / 0.5727 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002178/0.6881, allocations: 58.08 kB / 0.5728 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.6893, allocations: 176.5 kB / 0.573 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007727/0.69, allocations: 1.077 MB / 0.574 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/0.6908, allocations: 47.33 kB / 0.5741 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.6909, allocations: 36.56 kB / 0.5741 GB, free: 10.95 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.0002704/0.6912, allocations: 180.6 kB / 0.5743 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.6913, allocations: 25.98 kB / 0.5743 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.6934, allocations: 0.7918 MB / 0.5751 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.6934, allocations: 9.531 kB / 0.5751 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6934, allocations: 3.25 kB / 0.5751 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6934, allocations: 7.719 kB / 0.5751 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.6967, allocations: 1.459 MB / 0.5765 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.6967, allocations: 2.25 kB / 0.5765 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.6977, allocations: 151.1 kB / 0.5766 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/0.6979, allocations: 43.95 kB / 0.5767 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/0.6979, allocations: 29.2 kB / 0.5767 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.6999, allocations: 2.514 MB / 0.5792 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6999, allocations: 5.156 kB / 0.5792 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.7024, allocations: 1.078 MB / 0.5802 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.7025, allocations: 22.33 kB / 0.5803 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.7025, allocations: 14.12 kB / 0.5803 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008254/0.7034, allocations: 39.12 kB / 0.5803 GB, free: 7.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.7034, allocations: 45.75 kB / 0.5803 GB, free: 7.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.7035, allocations: 40.95 kB / 0.5804 GB, free: 7.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.447e-05/0.7036, allocations: 131.8 kB / 0.5805 GB, free: 7.254 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7036, allocations: 0 / 0.5805 GB, free: 7.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001371/0.705, allocations: 397.8 kB / 0.5809 GB, free: 7.203 MB / 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.005422/0.7104, allocations: 2.368 MB / 0.5832 GB, free: 6.223 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.7122, allocations: 0.6366 MB / 0.5838 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7122, allocations: 3.469 kB / 0.5838 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.7133, allocations: 0.523 MB / 0.5843 GB, free: 5.977 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008132/0.7142, allocations: 94.2 kB / 0.5844 GB, free: 5.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008147/0.7223, allocations: 4.262 MB / 0.5886 GB, free: 3.676 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.7225, allocations: 172.9 kB / 0.5888 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008746/0.7234, allocations: 188.9 kB / 0.5889 GB, free: 3.445 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003897/0.7238, allocations: 127.8 kB / 0.5891 GB, free: 3.414 MB / 462.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7238, allocations: 3.094 kB / 0.5891 GB, free: 3.414 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0597/0.7835, allocations: 20.98 MB / 0.6095 GB, free: 4.809 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.6, allocations: 6.016 kB / 0.6096 GB, free: 4.805 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_MixtureGases.fmu > Modelica_trunk_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MixtureGases_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.30874301167205]